+ {FAMILY_SLOTS.map(({ key, name, icon }, index) => {
+ const apps = groups.get(key) ?? [];
+ const count = apps.reduce((sum, app) => sum + app.count, 0);
+ return (
+
+ {index > 0 && }
+
+
+
+
+
+
+ {name}
+
+ {!sessionCount ? (
+ Loading active connections
+ ) : apps.length === 0 ? (
+ No active connections
+ ) : (
+
+ {apps.map((app) => (
+ -
+
+ {app.count}
+
+ ))}
+
+ )}
+
+
+
+ );
+ })}
+