diff --git a/frontend/src/lib/components/dashboard/GroupTab.svelte b/frontend/src/lib/components/dashboard/GroupTab.svelte index 6577392..9374c6d 100644 --- a/frontend/src/lib/components/dashboard/GroupTab.svelte +++ b/frontend/src/lib/components/dashboard/GroupTab.svelte @@ -103,12 +103,12 @@ }) ).json(); groups = [...groups, newGroup]; - addToast({ - message: `The ${newGroup.name} group was created successfully`, - type: ToastType.Info, - dismissible: true, - timeout: 1500 - }); + addToast( + `The ${newGroup.name} group was created successfully`, + ToastType.Info, + true, + 1500 + ); showNewGroupInput = false; } }} diff --git a/frontend/src/lib/components/dashboard/ServerTab.svelte b/frontend/src/lib/components/dashboard/ServerTab.svelte index e694ef5..f2b3af1 100644 --- a/frontend/src/lib/components/dashboard/ServerTab.svelte +++ b/frontend/src/lib/components/dashboard/ServerTab.svelte @@ -11,30 +11,20 @@