Preserve dashboard tile sizes
Build and Deploy / build-and-deploy (push) Successful in 27s

This commit is contained in:
Ketan Patel committed 2026-06-19 19:48:47 -04:00
1 parent 9a1efb2c15
commit c7a0ed93ff
4 files changed
+88 -49

No files matched your search

+2 -1
View File
@@ -299,7 +299,7 @@ async def get_ups_ui_tiles(ups_name: str, user=Depends(require_session)):
raw = r.get(f"ups:ui:tiles:{ups_name}")
default = {
"types": {}, "order": [], "hidden": [], "custom": [],
"positions": {}, "card_size": None,
"positions": {}, "card_size": None, "exists": False,
}
if not raw:
return default
@@ -312,6 +312,7 @@ async def get_ups_ui_tiles(ups_name: str, user=Depends(require_session)):
"custom": data.get("custom", []),
"positions": data.get("positions", {}),
"card_size": data.get("card_size"),
"exists": True,
}
except Exception:
return default