saving data works, refreshes the UI, and also added an option to clear the storage from the UI
This commit is contained in:
1 parent
3315e2ee3c
commit
72c0c5fa98
3 files changed
+30
-2
No files matched your search
@@ -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