feat(desktop): permissions

This commit is contained in:
Adam 2025-12-27 05:16:39 -06:00
commit 21eba5f987
No known key found for this signature in database
GPG key ID: 9CB48779AF150E75
17 changed files with 586 additions and 60 deletions

View file

@ -33,10 +33,6 @@ function init() {
},
close() {
active()?.onClose?.()
if (!active()?.onClose) {
const promptInput = document.querySelector("[data-component=prompt-input]") as HTMLElement
promptInput?.focus()
}
setActive(undefined)
},
show(element: DialogElement, owner: Owner, onClose?: () => void) {