diff --git a/src/components/ActiveConfigurationsTable/active-configurations-table.scss b/src/components/ActiveConfigurationsTable/active-configurations-table.scss index 49f287f..abe6085 100644 --- a/src/components/ActiveConfigurationsTable/active-configurations-table.scss +++ b/src/components/ActiveConfigurationsTable/active-configurations-table.scss @@ -41,4 +41,9 @@ background: $blue-color-2 !important; } } + + &__buttons { + display: flex; + justify-content: space-between; + } } diff --git a/src/components/ActiveConfigurationsTable/index.tsx b/src/components/ActiveConfigurationsTable/index.tsx index dd20d70..673abef 100644 --- a/src/components/ActiveConfigurationsTable/index.tsx +++ b/src/components/ActiveConfigurationsTable/index.tsx @@ -191,9 +191,21 @@ const ActiveConfigurationsTable: FC = const className = `active-configurations-table__table ${isActiveTable ? 'active-config' : ''}` return (
-

- {isActiveTable ? 'Активная конфигурация' : 'Другие конфигурации'} -

+
+

+ {isActiveTable ? 'Активная' : 'Остальные'} +

+ {!isActiveTable && + + } +
record.id} diff --git a/src/pages/ConfigurationsPage/index.tsx b/src/pages/ConfigurationsPage/index.tsx index fd02933..c0c5e78 100644 --- a/src/pages/ConfigurationsPage/index.tsx +++ b/src/pages/ConfigurationsPage/index.tsx @@ -3,7 +3,6 @@ import { useEffect, useMemo, useState } from 'react' import { Outlet, useNavigate, useParams } from 'react-router-dom' import ActiveConfigurationsTable from '@components/ActiveConfigurationsTable' -import CanEdit from '@components/CanEdit' import CompareVersionModal from '@components/CompareVersionModal' import ConfigSchemaModal from '@components/ConfigSchemaModal' import ConfigurationPreviewModal from '@components/ConfigurationPreviewModal' @@ -100,17 +99,6 @@ const Configurations = () => { > Текущая схема - - -