mirror of
https://github.com/jeffvli/feishin.git
synced 2026-05-07 04:20:12 +02:00
temporarily remove item list selection dialog
This commit is contained in:
@@ -41,7 +41,6 @@ import {
|
||||
useItemListState,
|
||||
useItemListStateSubscription,
|
||||
} from '/@/renderer/components/item-list/helpers/item-list-state';
|
||||
import { SelectionDialog } from '/@/renderer/components/item-list/selection-dialog';
|
||||
import { ItemControls, ItemListHandle } from '/@/renderer/components/item-list/types';
|
||||
import { animationProps } from '/@/shared/components/animations/animation-props';
|
||||
import { useElementSize } from '/@/shared/hooks/use-element-size';
|
||||
@@ -310,7 +309,6 @@ const BaseItemGridList = ({
|
||||
enableDrag = true,
|
||||
enableExpansion = false,
|
||||
enableSelection = true,
|
||||
enableSelectionDialog = true,
|
||||
gap = 'sm',
|
||||
getRowId,
|
||||
initialTop,
|
||||
@@ -747,7 +745,7 @@ const BaseItemGridList = ({
|
||||
</AutoSizer>
|
||||
<AnimatePresence presenceAffectsLayout>
|
||||
<ExpandedContainer internalState={internalState} itemType={itemType} />
|
||||
{enableSelectionDialog && <SelectionDialog internalState={internalState} />}
|
||||
{/* {enableSelectionDialog && <SelectionDialog internalState={internalState} />} */}
|
||||
</AnimatePresence>
|
||||
</motion.div>
|
||||
);
|
||||
|
||||
@@ -34,7 +34,6 @@ import {
|
||||
import { parseTableColumns } from '/@/renderer/components/item-list/helpers/parse-table-columns';
|
||||
import { useStickyTableGroupRows } from '/@/renderer/components/item-list/item-table-list/hooks/use-sticky-table-group-rows';
|
||||
import { useStickyTableHeader } from '/@/renderer/components/item-list/item-table-list/hooks/use-sticky-table-header';
|
||||
import { SelectionDialog } from '/@/renderer/components/item-list/selection-dialog';
|
||||
import {
|
||||
ItemControls,
|
||||
ItemListHandle,
|
||||
@@ -715,7 +714,6 @@ const BaseItemTableList = ({
|
||||
enableHorizontalBorders = false,
|
||||
enableRowHoverHighlight = true,
|
||||
enableSelection = true,
|
||||
enableSelectionDialog = true,
|
||||
enableStickyGroupRows = false,
|
||||
enableStickyHeader = false,
|
||||
enableVerticalBorders = false,
|
||||
@@ -2321,7 +2319,7 @@ const BaseItemTableList = ({
|
||||
totalRowCount={totalRowCount}
|
||||
/>
|
||||
<ExpandedContainer internalState={internalState} itemType={itemType} />
|
||||
{enableSelectionDialog && <SelectionDialog internalState={internalState} />}
|
||||
{/* {enableSelectionDialog && <SelectionDialog internalState={internalState} />} */}
|
||||
</motion.div>
|
||||
);
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user