mirror of
https://github.com/spacedriveapp/spacedrive.git
synced 2026-10-20 08:04:33 -04:00
[ENG-763] Fix list view categories loop (#999)
Fix list view categories loop
This commit is contained in:
1 parent
361c57064a
commit
10c7af5ae2
2 files changed
+2
-6
No files matched your search
@@ -240,7 +240,7 @@ export default () => {
|
||||
});
|
||||
|
||||
const tableLength = table.getTotalSize();
|
||||
const { rows } = table.getRowModel();
|
||||
const rows = useMemo(() => table.getRowModel().rows, [explorerView.items]);
|
||||
|
||||
const rowVirtualizer = useVirtualizer({
|
||||
count: explorerView.items ? rows.length : 100,
|
||||
|
||||
@@ -40,11 +40,7 @@ export const Component = () => {
|
||||
<TopBarPortal
|
||||
right={
|
||||
<TopBarOptions
|
||||
options={[
|
||||
explorerViewOptions.filter((f) => f.toolTipLabel !== 'List view'),
|
||||
explorerToolOptions,
|
||||
explorerControlOptions
|
||||
]}
|
||||
options={[explorerViewOptions, explorerToolOptions, explorerControlOptions]}
|
||||
/>
|
||||
}
|
||||
/>
|
||||
|
||||
Reference in new issue
Block a user