Compare commits

..

1 Commits

Author SHA1 Message Date
userAdityaa 190e9eb889 fix: realtime updates for room members and admins 2026-04-10 02:40:36 +05:45
3 changed files with 6 additions and 7 deletions
+2 -1
View File
@@ -6,6 +6,7 @@
import Close from "@assets/icons/close.svg?dataurl"
import Icon from "@lib/components/Icon.svelte"
import Button from "@lib/components/Button.svelte"
import {clearModals} from "@app/util/modal"
type Props = {
onClose?: any
@@ -55,7 +56,7 @@
<div class={wrapperClass}>
<div class={innerClass} transition:fly>
{#if !noEscape}
<Button class={buttonClass} onclick={onClose}>
<Button class={buttonClass} onclick={clearModals}>
<Icon icon={Close} size={6} />
</Button>
{/if}
+2 -4
View File
@@ -4,15 +4,13 @@
import Dialog from "@lib/components/Dialog.svelte"
import SpaceInviteAccept from "@app/components/SpaceInviteAccept.svelte"
const close = () => goto("/home")
const children = {
component: SpaceInviteAccept,
props: {
invite: $page.url.href,
back: close,
back: () => goto("/home"),
},
}
</script>
<Dialog {children} onClose={close} />
<Dialog {children} />
+2 -2
View File
@@ -172,9 +172,9 @@
</strong>
<Button onclick={() => (showAdvanced = !showAdvanced)}>
{#if showAdvanced}
<Icon icon={AltArrowUp} />
{:else}
<Icon icon={AltArrowDown} />
{:else}
<Icon icon={AltArrowUp} />
{/if}
</Button>
</div>