generated from nhcarrigan/template
aa40d09b29
Previously, pendingPermissions was mutated in-place via .push(), causing Svelte's reactivity chain to potentially receive the same array reference and skip re-rendering the PermissionModal. Switching to spread syntax guarantees a new reference on every update. Also removed $state() from PermissionModal's local variables to match the Svelte 4 reactive pattern used by other working components (Terminal), avoiding rune-mode signal equality short-circuits.