remove selection dialog from certain list views

This commit is contained in:
jeffvli
2025-12-16 21:06:56 -08:00
parent e21f538aa4
commit e3c26aa5fa
7 changed files with 11 additions and 2 deletions
@@ -673,6 +673,7 @@ interface ItemTableListProps {
enableHorizontalBorders?: boolean;
enableRowHoverHighlight?: boolean;
enableSelection?: boolean;
enableSelectionDialog?: boolean;
enableStickyGroupRows?: boolean;
enableStickyHeader?: boolean;
enableVerticalBorders?: boolean;
@@ -714,6 +715,7 @@ const BaseItemTableList = ({
enableHorizontalBorders = false,
enableRowHoverHighlight = true,
enableSelection = true,
enableSelectionDialog = true,
enableStickyGroupRows = false,
enableStickyHeader = false,
enableVerticalBorders = false,
@@ -2319,7 +2321,7 @@ const BaseItemTableList = ({
totalRowCount={totalRowCount}
/>
<ExpandedContainer internalState={internalState} itemType={itemType} />
<SelectionDialog internalState={internalState} />
{enableSelectionDialog && <SelectionDialog internalState={internalState} />}
</motion.div>
);
};