diff --git a/rsconcept/frontend/src/features/rsform/pages/rsform-page/editor-rslist/editor-rslist.tsx b/rsconcept/frontend/src/features/rsform/pages/rsform-page/editor-rslist/editor-rslist.tsx index dfbb95c2..a70079fa 100644 --- a/rsconcept/frontend/src/features/rsform/pages/rsform-page/editor-rslist/editor-rslist.tsx +++ b/rsconcept/frontend/src/features/rsform/pages/rsform-page/editor-rslist/editor-rslist.tsx @@ -2,7 +2,6 @@ import { useState } from 'react'; import { toast } from 'react-toastify'; -import clsx from 'clsx'; import fileDownload from 'js-file-download'; import { MiniButton } from '@/components/control'; @@ -124,30 +123,31 @@ export function EditorRSList() { return false; } - const tableHeight = useFitHeight(isContentEditable ? '4rem + 5px' : '2rem'); + const tableHeight = useFitHeight('4rem + 5px'); return (
{isContentEditable ? ( ) : null} - {isContentEditable ? ( -
+ +
+ {isContentEditable ? (
Выбор {selected.length} из {schema.stats?.count_all}
- -
- ) : null} + ) : null} + +