event.stopPropagation()}
+ className="flex max-h-[85dvh] w-full flex-col rounded-t-2xl border border-edge bg-panel shadow-xl sm:max-w-lg sm:rounded-2xl">
+
+ {device.groups.length === 0 && (
+
+ Brak aktualnych danych{device.time ? ` (ostatni odczyt ${when(device.time)})` : ""}.
+
+ )}
+ {device.groups.map((group) => (
+
+ {group.title}
+ {group.items.map((item) => (
+
+ ))}
+
+ ))}
+