diff --git a/frontend-modern/src/components/Settings/GuestURLs.tsx b/frontend-modern/src/components/Settings/GuestURLs.tsx index e021ec2ac..1ac95b902 100644 --- a/frontend-modern/src/components/Settings/GuestURLs.tsx +++ b/frontend-modern/src/components/Settings/GuestURLs.tsx @@ -16,6 +16,7 @@ export function GuestURLs(props: GuestURLsProps) { const [guestMetadata, setGuestMetadata] = createSignal>({}); const [searchTerm, setSearchTerm] = createSignal(''); const [loading, setLoading] = createSignal(false); + const [initialLoad, setInitialLoad] = createSignal(true); // Combine VMs and containers into a single list const allGuests = createMemo(() => { @@ -66,6 +67,7 @@ export function GuestURLs(props: GuestURLsProps) { showError('Failed to load guest URLs'); } finally { setLoading(false); + setInitialLoad(false); } }); @@ -166,29 +168,34 @@ export function GuestURLs(props: GuestURLsProps) { {/* Guest URLs Table */}
-
- - - - - - - - - - - - +
Loading guest URLs...
+ + }> +
+
- Name - - Type - - VMID - - Custom URL - - Actions -
+ + + + + + + + + + + a.localeCompare(b))}> {([node, guests]) => ( <> @@ -278,10 +285,11 @@ export function GuestURLs(props: GuestURLsProps) { No guests found - - -
+ Name + + Type + + VMID + + Custom URL + + Actions +
-
+ + + +
+ );