Fix alerts

This commit is contained in:
Jon Staab
2025-10-31 14:51:59 -07:00
parent bef04fa899
commit ba2b5d182e
4 changed files with 12 additions and 12 deletions
+3 -3
View File
@@ -24,11 +24,11 @@
type Props = {
url?: string
room?: string
channel?: string
hideSpaceField?: boolean
}
const {url = "", room = "push", hideSpaceField = false}: Props = $props()
const {url = "", channel = "push", hideSpaceField = false}: Props = $props()
const dmStatus = $derived($dmAlert ? deriveAlertStatus(getAddress($dmAlert.event)) : undefined)
@@ -46,7 +46,7 @@
}),
)
const startAlert = () => pushModal(AlertAdd, {url, room, hideSpaceField})
const startAlert = () => pushModal(AlertAdd, {url, channel, hideSpaceField})
const uncheckDmAlert = async (message: string) => {
await sleep(100)