Revert "fix: address mobile dashboard review findings"

This reverts commit 1039bb18b3.
This commit is contained in:
ajnart committed 2026-07-29 20:06:59 +02:00
1 parent 43e95ff185
commit 38a710efe3
21 files changed
+45 -175

No files matched your search

@@ -398,13 +398,11 @@ function BeszelSystemGridContent({
data: results = [],
error: systemsError,
isPending,
isLoadingError: systemsLoadingError,
isRefetchError: systemsRefetchError,
} = clientApi.widget.beszel.getSystems.useQuery({ integrationIds });
const filteredSystems = useBeszelFilteredSystems(results, options.statusFilter);
if (systemsLoadingError) throw systemsError;
if (systemsError) throw systemsError;
if (isPending) {
return (
@@ -417,7 +415,7 @@ function BeszelSystemGridContent({
if (filteredSystems.length === 0) {
return (
<Box h="100%" pos="relative" style={{ pointerEvents: isEditMode ? "none" : undefined }}>
<BeszelIntegrationErrorIndicator results={results} isStale={systemsRefetchError} />
<BeszelIntegrationErrorIndicator results={results} />
<Center h="100%">
<Stack align="center" gap="xs">
<IconServerOff size={28} opacity={0.5} />
@@ -441,7 +439,7 @@ function BeszelSystemGridContent({
return (
<Box h="100%" pos="relative" style={{ pointerEvents: isEditMode ? "none" : undefined }}>
<BeszelIntegrationErrorIndicator results={results} isStale={systemsRefetchError} />
<BeszelIntegrationErrorIndicator results={results} />
<Box
h="100%"
style={{