Modern Docker Management, Designed for Everyone
Go composecontainer-managementcontainersdockerdocker-composedocker-managementgoself-hostedsveltekittypescriptweb-ui
fix: redirect to list view after removing a container or stack
Kyle Mendell0fa0f03aa36c
diff --git a/src/lib/components/action-buttons.svelte b/src/lib/components/action-buttons.svelteindex e2a969c3f..3c2600039 100644--- a/src/lib/components/action-buttons.svelte+++ b/src/lib/components/action-buttons.svelte@@ -2,7 +2,7 @@import { Play, StopCircle, RotateCcw, Download, Trash2, Loader2, RefreshCcwDot } from '@lucide/svelte';import { Button } from '$lib/components/ui/button/index.js';import { openConfirmDialog } from './confirm-dialog';- import { invalidateAll } from '$app/navigation';+ import { goto, invalidateAll } from '$app/navigation';import { toast } from 'svelte-sonner';import type { LoadingStates } from '$lib/types/loading-states.type';import ContainerAPIService from '$lib/services/api/container-api-service';@@ -66,6 +66,7 @@async () => {toast.success(`${type.charAt(0).toUpperCase() + type.slice(1)} Removed Successfully`);await invalidateAll();+ goto(`/${type}s`);});}