- improved statuses acress dashboard and child cards

This commit is contained in:
2025-12-03 16:05:06 +00:00
parent 9b35deaf12
commit 173b1d0e51
5 changed files with 33 additions and 10 deletions

View File

@@ -11,7 +11,8 @@ type StatusGridItemProps = {
const StatusGridItem = ({ title, statusCategory }: StatusGridItemProps) => {
const [isOpen, setIsOpen] = useState(false);
const isAllGood = statusCategory.every((status) => status.tags.includes("RUNNING"));
const isAllGood =
statusCategory && statusCategory.length > 0 && statusCategory.every((status) => status.tags.includes("RUNNING"));
const handleClick = () => {
setIsOpen(false);