forked from cory/tildefriends
Fix the app permissions list missing its reset buttons.
This commit is contained in:
parent
49129ee6dd
commit
95d3090b9b
@ -146,8 +146,14 @@ class TfNavigationElement extends LitElement {
|
|||||||
${Object.keys(this.permissions).map(
|
${Object.keys(this.permissions).map(
|
||||||
(key) => html`
|
(key) => html`
|
||||||
<div>
|
<div>
|
||||||
<span>${key}</span>: ${this.permissions[key] ? '✅ Allowed' : '❌ Denied'}
|
<span>${key}</span>:
|
||||||
<button @click=${() => this.reset_permission(key)} class='w3-button w3-red">Reset</button>
|
${this.permissions[key] ? '✅ Allowed' : '❌ Denied'}
|
||||||
|
<button
|
||||||
|
@click=${() => this.reset_permission(key)}
|
||||||
|
class="w3-button w3-red"
|
||||||
|
>
|
||||||
|
Reset
|
||||||
|
</button>
|
||||||
</div>
|
</div>
|
||||||
`
|
`
|
||||||
)}
|
)}
|
||||||
|
Loading…
Reference in New Issue
Block a user