This commit is contained in:
j3d1 2024-06-08 20:47:07 +02:00
parent f8e9c285f6
commit 7c10fb76b9

View file

@ -8,10 +8,10 @@
@input="changeMessageTemplate(template.id, $event)"/>
<br>
<button class="btn btn-primary" @click="resetMessageTemplate(template.id)"
:disabled="true">Reset
:disabled="messageTemplates.find(t => t.id === template.id).message === template.message">Reset
</button>
<button class="btn btn-success" @click="saveMessageTemplate(template.id)"
:disabled="true">Save
:disabled="messageTemplates.find(t => t.id === template.id).message === template.message">Save
</button>
</div>
</div>