feat(desktop): permissions

This commit is contained in:
Adam
2025-12-27 05:16:39 -06:00
parent c523ca4127
commit 21eba5f987
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) {