Modern Docker Management, Designed for Everyone
Go composecontainer-managementcontainersdockerdocker-composedocker-managementgoself-hostedsveltekittypescriptweb-ui
chore: remove comments
Kyle Mendell6fa04e6e847e
diff --git a/frontend/src/lib/components/image-update-item.svelte b/frontend/src/lib/components/image-update-item.svelteindex 098cf2bfa..0a99b0a72 100644--- a/frontend/src/lib/components/image-update-item.svelte+++ b/frontend/src/lib/components/image-update-item.svelte@@ -9,7 +9,6 @@} from '@lucide/svelte';import { imageUpdateAPI } from '$lib/services/api';import { toast } from 'svelte-sonner';- // import { invalidateAll } from '$app/navigation'; // removedimport type { ImageUpdateData } from '$lib/services/api/image-update-api-service';interface Props {@@ -18,7 +17,6 @@imageId: string;repo?: string;tag?: string;- // optional callback if the parent ever wants the new valueonUpdated?: (data: ImageUpdateData) => void;}@@ -31,11 +29,9 @@onUpdated}: Props = $props();- // local, reactive copy so the UI updates without page refreshlet localUpdateInfo = $state<ImageUpdateData | undefined>(updateInfo);let isChecking = $state(false);- // keep local state in sync if parent prop changes later$effect(() => {localUpdateInfo = updateInfo;});@@ -66,11 +62,9 @@try {const result = await imageUpdateAPI.checkImageUpdateByID(imageId);if (result && !result.error) {- // update the cell immediatelylocalUpdateInfo = result;onUpdated?.(result); // optional: lets a parent sync if desiredtoast.success('Update check completed');- // await invalidateAll(); // no full refresh} else {toast.error(result?.error || 'Update check failed');}