Fix Add view not working on PersonTable

This commit is contained in:
Charles Bochet 2023-11-03 15:01:01 +01:00
parent b4af15467f
commit e04f9230da

View File

@ -7,6 +7,7 @@ import { usePersonTableContextMenuEntries } from '@/people/hooks/usePersonTableC
import { useSpreadsheetPersonImport } from '@/people/hooks/useSpreadsheetPersonImport';
import { RecordTable } from '@/ui/object/record-table/components/RecordTable';
import { RecordTableEffect } from '@/ui/object/record-table/components/RecordTableEffect';
import { TableOptionsDropdownId } from '@/ui/object/record-table/constants/TableOptionsDropdownId';
import { TableContext } from '@/ui/object/record-table/contexts/TableContext';
import { useUpsertRecordTableItem } from '@/ui/object/record-table/hooks/useUpsertRecordTableItem';
import { TableOptionsDropdown } from '@/ui/object/record-table/options/components/TableOptionsDropdown';
@ -105,7 +106,7 @@ export const PersonTable = () => {
>
<ViewBar
optionsDropdownButton={<TableOptionsDropdown onImport={onImport} />}
optionsDropdownScopeId="table-dropdown-option"
optionsDropdownScopeId={TableOptionsDropdownId}
/>
<PersonTableEffect />
<RecordTableEffect