This commit is contained in:
Adria Navarro 2023-08-31 10:24:52 +02:00
parent e13ea88e42
commit d36c7d744f
1 changed files with 2 additions and 2 deletions

View File

@ -10,13 +10,13 @@
let modal
let resourcePermissions
async function openDropdown() {
async function openModal() {
resourcePermissions = await permissions.forResource(resourceId)
modal.show()
}
</script>
<ActionButton icon="LockClosed" quiet on:click={openDropdown} {disabled}>
<ActionButton icon="LockClosed" quiet on:click={openModal} {disabled}>
Access
</ActionButton>
<Modal bind:this={modal}>