saving data works, refreshes the UI, and also added an option to clear the storage from the UI
This commit is contained in:
@@ -28,8 +28,9 @@
|
||||
|
||||
<div class="buttons">
|
||||
<button @click="visibleKey = !visibleKey" x-text="visibleKey ? 'Hide' : 'Show'"></button>
|
||||
<button @click="saveKey()">Save</button>
|
||||
<button @click="profileIndex = 1">Profile Index</button>
|
||||
<button @click="await saveProfile()">Save</button>
|
||||
<button @click="confirmClear = true" x-show="!confirmClear">Clear Data</button>
|
||||
<button @click="await clearData()" x-show="confirmClear">Confirm Clear</button>
|
||||
</div>
|
||||
|
||||
<div x-show="hasValidPubKey">
|
||||
|
||||
Reference in New Issue
Block a user