From b7cfb3082b9d45303b8566c16d1e98f917ec280c Mon Sep 17 00:00:00 2001 From: Ivan <8611739+IRBorisov@users.noreply.github.com> Date: Mon, 23 Sep 2024 14:58:53 +0300 Subject: [PATCH] M: Fix placeholder text --- rsconcept/frontend/src/dialogs/DlgCreateCst/FormCreateCst.tsx | 4 +--- .../pages/RSFormPage/EditorConstituenta/FormConstituenta.tsx | 4 +--- 2 files changed, 2 insertions(+), 6 deletions(-) diff --git a/rsconcept/frontend/src/dialogs/DlgCreateCst/FormCreateCst.tsx b/rsconcept/frontend/src/dialogs/DlgCreateCst/FormCreateCst.tsx index 8fe031ff..50746679 100644 --- a/rsconcept/frontend/src/dialogs/DlgCreateCst/FormCreateCst.tsx +++ b/rsconcept/frontend/src/dialogs/DlgCreateCst/FormCreateCst.tsx @@ -95,9 +95,7 @@ function FormCreateCst({ schema, state, partialUpdate, setValidated }: FormCreat : 'Формальное определение' } placeholder={ - state.cst_type !== CstType.STRUCTURED - ? 'Родоструктурное выражение' - : 'Определение множества, которому принадлежат элементы родовой структуры' + state.cst_type !== CstType.STRUCTURED ? 'Родоструктурное выражение' : 'Типизация родовой структуры' } value={state.definition_formal} onChange={value => partialUpdate({ definition_formal: value })} diff --git a/rsconcept/frontend/src/pages/RSFormPage/EditorConstituenta/FormConstituenta.tsx b/rsconcept/frontend/src/pages/RSFormPage/EditorConstituenta/FormConstituenta.tsx index 845b0727..c393155e 100644 --- a/rsconcept/frontend/src/pages/RSFormPage/EditorConstituenta/FormConstituenta.tsx +++ b/rsconcept/frontend/src/pages/RSFormPage/EditorConstituenta/FormConstituenta.tsx @@ -180,9 +180,7 @@ function FormConstituenta({ : 'Формальное определение' } placeholder={ - state.cst_type !== CstType.STRUCTURED - ? 'Родоструктурное выражение' - : 'Определение множества, которому принадлежат элементы родовой структуры' + state.cst_type !== CstType.STRUCTURED ? 'Родоструктурное выражение' : 'Типизация родовой структуры' } value={expression} activeCst={state}