diff --git a/src/app/_components/BackupsTab.tsx b/src/app/_components/BackupsTab.tsx index 63bb11c..8cc5112 100644 --- a/src/app/_components/BackupsTab.tsx +++ b/src/app/_components/BackupsTab.tsx @@ -739,21 +739,27 @@ export function BackupsTab() { Loading containers… - ) : (containersQuery.data?.containers ?? []).length === + ) : ([ + ...(containersQuery.data?.lxc ?? []).map((c) => ({ ...c, type: "CT" })), + ...(containersQuery.data?.vm ?? []).map((c) => ({ ...c, type: "VM" })), + ]).length === 0 ? (

No containers found on this server.

) : ( - containersQuery.data?.containers?.map((ct) => ( + [ + ...(containersQuery.data?.lxc ?? []).map((c) => ({ ...c, type: "CT" })), + ...(containersQuery.data?.vm ?? []).map((c) => ({ ...c, type: "VM" })), + ].map((ct) => (