stash
This commit is contained in:
parent
275e99f28d
commit
08c1ec1619
2 changed files with 5 additions and 4 deletions
|
@ -221,7 +221,7 @@ const store = createStore({
|
|||
state.messageTemplates = templates;
|
||||
},
|
||||
setMessageTemplateVariables(state, variables) {
|
||||
state.messageTemplatesVariables = variables;
|
||||
state.messageTemplateVariables = variables;
|
||||
},
|
||||
setShippingVouchers(state, codes) {
|
||||
state.shippingVouchers = codes;
|
||||
|
|
|
@ -2,13 +2,14 @@
|
|||
<h3 class="text-center">Message Templates</h3>
|
||||
<ul>
|
||||
<li v-for="template in messageTemplates" :key="template.id">
|
||||
{{ template.name }}
|
||||
{{ template.name }}<br>
|
||||
<p>{{ template.message }}</p>
|
||||
</li>
|
||||
</ul>
|
||||
<h3 class="text-center">Message Template Variables</h3>
|
||||
<ul>
|
||||
<li v-for="variable in messageTemplateVariables" :key="variable.id">
|
||||
{{ variable.name }}
|
||||
<li v-for="(variable, key) in messageTemplateVariables" :key="key">
|
||||
{{ variable }}
|
||||
</li>
|
||||
</ul>
|
||||
</template>
|
||||
|
|
Loading…
Reference in a new issue