diff --git a/rsconcept/frontend/src/pages/RSFormPage/EditorRSList/EditorRSList.tsx b/rsconcept/frontend/src/pages/RSFormPage/EditorRSList/EditorRSList.tsx index 9f055a3d..440ef268 100644 --- a/rsconcept/frontend/src/pages/RSFormPage/EditorRSList/EditorRSList.tsx +++ b/rsconcept/frontend/src/pages/RSFormPage/EditorRSList/EditorRSList.tsx @@ -9,7 +9,7 @@ import useWindowSize from '../../../hooks/useWindowSize'; import { CstType, IConstituenta, ICstCreateData, ICstMovetoData } from '../../../models/rsform' import { prefixes } from '../../../utils/constants'; import { labelCstTypification } from '../../../utils/labels'; -import RSItemsMenu from './RSListToolbar'; +import RSListToolbar from './RSListToolbar'; // Window width cutoff for columns const COLUMN_DEFINITION_HIDE_THRESHOLD = 1000; @@ -299,7 +299,7 @@ function EditorRSList({ onOpenEdit, onCreateCst, onDeleteCst, onTemplates }: Edi
Выбор {selected.length} из {schema?.stats?.count_all ?? 0}
- void } -function RSItemsMenu({ +function RSListToolbar({ selectedCount, editorMode, onMoveUp, onMoveDown, onDelete, onClone, onCreate, onTemplates, onReindex -}: RSItemsMenuProps) { +}: RSListToolbarProps) { const insertMenu = useDropdown(); const nothingSelected = useMemo(() => selectedCount === 0, [selectedCount]); return ( -
+
} @@ -112,4 +112,4 @@ function RSItemsMenu({
); } -export default RSItemsMenu; \ No newline at end of file +export default RSListToolbar; \ No newline at end of file