fix: async public key loading
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
<div>
|
||||
<div x-init="$wire.loadPublicKey()">
|
||||
<x-security.navbar />
|
||||
<div x-data="{ showPrivateKey: false }">
|
||||
<form class="flex flex-col gap-2" wire:submit='changePrivateKey'>
|
||||
@@ -22,11 +22,11 @@
|
||||
<x-forms.input readonly id="public_key" />
|
||||
<div class="flex items-end gap-2 py-2 ">
|
||||
<div class="pl-1 ">Private Key <span class='text-helper'>*</span></div>
|
||||
<div class="text-xs dark:text-white underline cursor-pointer" x-cloak x-show="!showPrivateKey"
|
||||
<div class="text-xs underline cursor-pointer dark:text-white" x-cloak x-show="!showPrivateKey"
|
||||
x-on:click="showPrivateKey = true">
|
||||
Edit
|
||||
</div>
|
||||
<div class="text-xs dark:text-white underline cursor-pointer" x-cloak x-show="showPrivateKey"
|
||||
<div class="text-xs underline cursor-pointer dark:text-white" x-cloak x-show="showPrivateKey"
|
||||
x-on:click="showPrivateKey = false">
|
||||
Hide
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user