Prompt to add space members when adding room members

This commit is contained in:
Jon Staab
2026-02-03 10:32:54 -08:00
parent 70c430ddc2
commit 8793912b65
2 changed files with 66 additions and 6 deletions
+2 -1
View File
@@ -1,6 +1,7 @@
import type {Component} from "svelte"
import {derived, writable} from "svelte/store"
import {randomId, always, assoc, Emitter} from "@welshman/lib"
import {deriveDeduplicated} from "@welshman/store"
import {goto} from "$app/navigation"
import {page} from "$app/stores"
@@ -23,7 +24,7 @@ export const emitter = new Emitter()
export const modals = writable<Record<string, Modal>>({})
export const modal = derived([page, modals], ([$page, $modals]) => {
export const modal = deriveDeduplicated([page, modals], ([$page, $modals]) => {
return $modals[$page.url.hash.slice(1)]
})