diff --git a/src/routes/(app)/automations/+page.svelte b/src/routes/(app)/automations/+page.svelte index f67dca0cfd..33c56ae0f5 100644 --- a/src/routes/(app)/automations/+page.svelte +++ b/src/routes/(app)/automations/+page.svelte @@ -151,9 +151,6 @@ foldersLoaded = true; }; - const getFolderName = (folderId: string | null): string | null => - folderId ? (($folders ?? []).find((folder) => folder.id === folderId)?.name ?? null) : null; - const toggleHandler = async (automation: AutomationResponse) => { const res = await toggleAutomationById(localStorage.token, automation.id).catch((err) => { toast.error(`${err}`); @@ -344,7 +341,6 @@ loaded = true; syncHeader(); - void ensureFolders(); return () => { clearTimeout(searchDebounceTimer); @@ -537,7 +533,6 @@ {:else}
{#each automations as automation (automation.id)} - {@const folderName = getFolderName(automation.folder_id)}
- {#if folderName} -
- {folderName} -
- {/if} -