Fix -t auto.

This commit is contained in:
2024-04-13 20:32:17 -04:00
parent c52331a23a
commit 26165e30de
5 changed files with 33 additions and 6 deletions

View File

@ -142,7 +142,9 @@ class TfNavigationElement extends LitElement {
}
create_identity(event) {
send({action: 'createIdentity'});
if (confirm('Are you sure you want to create a new identity?')) {
send({action: 'createIdentity'});
}
}
render_identity() {
@ -163,6 +165,7 @@ class TfNavigationElement extends LitElement {
return html`
<link type="text/css" rel="stylesheet" href="/static/w3.css" />
<button
id="create_identity"
@click=${this.create_identity}
class="w3-button w3-blue w3-right"
>