-
-
-
-
- {/* Resource rows or skeleton placeholder */}
-
-
- {isLoading && rows.length === 0 ? (
- Array.from({ length: skeletonRowCount }).map((_, i) => (
-
- ))
- ) : rows.length > 0 ? (
- rows.map((row) => (
- {
- // Don't open drawer if clicking interactive elements
- // (links, buttons, checkboxes, dropdown items)
- const target = e.target as HTMLElement;
- if (
- target.closest(
- "a, button, input, [role=menuitem]",
- )
+
+
+
+ {/* Resource rows or skeleton placeholder */}
+
+
+ {isLoading && rows.length === 0 ? (
+ Array.from({ length: skeletonRowCount }).map((_, i) => (
+
+ ))
+ ) : rows.length > 0 ? (
+ rows.map((row) => (
+ {
+ // Don't open drawer if clicking interactive elements
+ // (links, buttons, checkboxes, dropdown items)
+ const target = e.target as HTMLElement;
+ if (
+ target.closest(
+ "a, button, input, [role=menuitem]",
)
- return;
- drawer.openDrawer(row.index);
- }}
- >
- {row.getVisibleCells().map((cell) => (
-
- {flexRender(
- cell.column.columnDef.cell,
- cell.getContext(),
- )}
-
- ))}
-
- ))
- ) : (
-
-
- {getFindingGroupEmptyStateMessage(group, filters)}
-
+ )
+ return;
+ drawer.openDrawer(row.index);
+ }}
+ >
+ {row.getVisibleCells().map((cell) => (
+
+ {flexRender(
+ cell.column.columnDef.cell,
+ cell.getContext(),
+ )}
+
+ ))}
- )}
-
-
+ ))
+ ) : (
+
+
+ {getFindingGroupEmptyStateMessage(group, filters)}
+
+
+ )}
+
+
- {/* Loading state for infinite scroll (subsequent pages only) */}
- {isLoading && rows.length > 0 && (
-
- )}
+ {/* Loading state for infinite scroll (subsequent pages only) */}
+ {isLoading && rows.length > 0 && (
+
+ )}
- {/* Sentinel for scroll hint detection */}
-
+ {/* Sentinel for scroll hint detection */}
+
- {/* Sentinel for infinite scroll */}
-
-
+ {/* Sentinel for infinite scroll */}
+
+
- {/* Gradients rendered after scroll container so they paint on top */}
-
-
+ {/* Gradients rendered after scroll container so they paint on top */}
+
+
- {/* Scroll hint */}
- {showScrollHint && (
-
-
-
- Scroll for
- more
-
+ {/* Scroll hint */}
+ {showScrollHint && (
+
-
-
+
+ )}
+
+
|
-