Disable the Save button, enabled after a change to indicate that save needs to be done.
This commit is contained in:
@@ -33,7 +33,7 @@
|
||||
|
||||
<div class="buttons">
|
||||
<button @click="visibleKey = !visibleKey" x-text="visibleKey ? 'Hide' : 'Show'"></button>
|
||||
<button @click="await saveProfile()">Save</button>
|
||||
<button @click="await saveProfile()" :disabled="!needsSaving">Save</button>
|
||||
<button @click="confirmClear = true" x-show="!confirmClear">Clear Data</button>
|
||||
<button @click="await clearData()" x-show="confirmClear">Confirm Clear</button>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user