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;
|
state.messageTemplates = templates;
|
||||||
},
|
},
|
||||||
setMessageTemplateVariables(state, variables) {
|
setMessageTemplateVariables(state, variables) {
|
||||||
state.messageTemplatesVariables = variables;
|
state.messageTemplateVariables = variables;
|
||||||
},
|
},
|
||||||
setShippingVouchers(state, codes) {
|
setShippingVouchers(state, codes) {
|
||||||
state.shippingVouchers = codes;
|
state.shippingVouchers = codes;
|
||||||
|
|
|
@ -2,13 +2,14 @@
|
||||||
<h3 class="text-center">Message Templates</h3>
|
<h3 class="text-center">Message Templates</h3>
|
||||||
<ul>
|
<ul>
|
||||||
<li v-for="template in messageTemplates" :key="template.id">
|
<li v-for="template in messageTemplates" :key="template.id">
|
||||||
{{ template.name }}
|
{{ template.name }}<br>
|
||||||
|
<p>{{ template.message }}</p>
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
<h3 class="text-center">Message Template Variables</h3>
|
<h3 class="text-center">Message Template Variables</h3>
|
||||||
<ul>
|
<ul>
|
||||||
<li v-for="variable in messageTemplateVariables" :key="variable.id">
|
<li v-for="(variable, key) in messageTemplateVariables" :key="key">
|
||||||
{{ variable.name }}
|
{{ variable }}
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
</template>
|
</template>
|
||||||
|
|
Loading…
Reference in a new issue