We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 83f360e commit 1fbab91Copy full SHA for 1fbab91
1 file changed
src/routes/(console)/create-organization/+page.svelte
@@ -50,10 +50,6 @@
50
!seatsAddon || (seatsAddon.supported ?? false) || (seatsAddon.limit ?? 0) > 1
51
);
52
53
- $: if (!canAddMembers && collaborators.length > 0) {
54
- collaborators = [];
55
- }
56
-
57
afterNavigate(({ from }) => {
58
previousPage = from?.url?.pathname || previousPage;
59
});
@@ -186,6 +182,12 @@
186
182
trackError(e, Submit.OrganizationCreate);
187
183
}
188
184
185
+
+ $effect(() => {
+ if (!canAddMembers && collaborators.length > 0) {
+ collaborators = [];
189
+ }
190
+ });
191
</script>
192
193
<svelte:head>
0 commit comments