stash
This commit is contained in:
parent
0df129d7a0
commit
0239b68c11
1 changed files with 3 additions and 3 deletions
|
@ -1,16 +1,16 @@
|
|||
<template>
|
||||
<h3 class="text-center">Message Templates</h3>
|
||||
<ul>
|
||||
<li v-for="[template, index] in messageTemplates" :key="template.id">
|
||||
<li v-for="template in messageTemplates" :key="template.id">
|
||||
<b>{{ template.name }}</b><br>
|
||||
<FormatedText :value="template.message" :format="formatText" class="template-message"
|
||||
@input="changeMessageTemplate(template.id, $event)"/>
|
||||
<br>
|
||||
<button class="btn btn-primary"
|
||||
:disabled="template.message !== messageTemplates[index].message">Reset
|
||||
:disabled="true">Reset
|
||||
</button>
|
||||
<button class="btn btn-success"
|
||||
:disabled="template.message !== messageTemplates[index].message">Save
|
||||
:disabled="true">Save
|
||||
</button>
|
||||
</li>
|
||||
</ul>
|
||||
|
|
Loading…
Reference in a new issue