) => template.id === activeID,
+ className: 'bg-selected'
+ }
+ ];
+
return (
-
+
+
+ Список пуст
+
+
+
+
+ }
+ />
+
);
}
diff --git a/rsconcept/frontend/src/features/ai/pages/prompt-templates-page/templates-tabs.tsx b/rsconcept/frontend/src/features/ai/pages/prompt-templates-page/templates-tabs.tsx
index b7735936..e93ee1f1 100644
--- a/rsconcept/frontend/src/features/ai/pages/prompt-templates-page/templates-tabs.tsx
+++ b/rsconcept/frontend/src/features/ai/pages/prompt-templates-page/templates-tabs.tsx
@@ -57,7 +57,7 @@ export function TemplatesTabs({ activeID, tab }: TemplatesTabsProps) {
-
+
diff --git a/rsconcept/frontend/src/features/library/pages/library-page/use-library-columns.tsx b/rsconcept/frontend/src/features/library/pages/library-page/use-library-columns.tsx
index 7be5e78e..1b8192c2 100644
--- a/rsconcept/frontend/src/features/library/pages/library-page/use-library-columns.tsx
+++ b/rsconcept/frontend/src/features/library/pages/library-page/use-library-columns.tsx
@@ -53,7 +53,7 @@ export function useLibraryColumns() {
enableSorting: true,
sortingFn: 'text'
}),
- columnHelper.accessor(item => item.owner ?? 0, {
+ columnHelper.accessor('owner', {
id: 'owner',
header: 'Владелец',
size: 400,
diff --git a/rsconcept/frontend/src/features/rsform/pages/rsform-page/editor-constituenta/form-constituenta.tsx b/rsconcept/frontend/src/features/rsform/pages/rsform-page/editor-constituenta/form-constituenta.tsx
index df74a807..4703c5b8 100644
--- a/rsconcept/frontend/src/features/rsform/pages/rsform-page/editor-constituenta/form-constituenta.tsx
+++ b/rsconcept/frontend/src/features/rsform/pages/rsform-page/editor-constituenta/form-constituenta.tsx
@@ -129,7 +129,7 @@ export function FormConstituenta({ disabled, id, toggleReset, schema, activeCst,
}, [isDirty, setIsModified]);
function onSubmit(data: IUpdateConstituentaDTO) {
- return cstUpdate({ itemID: schema.id, data }).then(() => {
+ void cstUpdate({ itemID: schema.id, data }).then(() => {
setIsModified(false);
reset({ ...data });
});
diff --git a/rsconcept/frontend/src/utils/labels.ts b/rsconcept/frontend/src/utils/labels.ts
index 889bb01f..3da3def7 100644
--- a/rsconcept/frontend/src/utils/labels.ts
+++ b/rsconcept/frontend/src/utils/labels.ts
@@ -82,6 +82,7 @@ export const promptText = {
promptUnsaved: 'Присутствуют несохраненные изменения. Продолжить без их учета?',
deleteLibraryItem: 'Вы уверены, что хотите удалить данную схему?',
deleteBlock: 'Вы уверены, что хотите удалить данный блок?',
+ deleteTemplate: 'Вы уверены, что хотите удалить данный шаблон?',
deleteOSS:
'Внимание!!\nУдаление операционной схемы приведет к удалению всех операций и собственных концептуальных схем.\nДанное действие нельзя отменить.\nВы уверены, что хотите удалить данную ОСС?',
generateWordforms: 'Данное действие приведет к перезаписи словоформ при совпадении граммем. Продолжить?',