From 51a67f591b0ebbf810eb8d76a9ad34cc5c9c78bf Mon Sep 17 00:00:00 2001 From: ewezy Date: Fri, 12 Jul 2024 14:52:17 +0800 Subject: [PATCH] Remove deprecated table props --- ui/src/jobs/list/ListEnsemblingJobsTable.js | 2 -- .../components/router_config_section/RoutesConfigTable.js | 1 - .../components/router_config_section/RulesConfigTable.js | 1 - .../standard_config_section/TreatmentMappingConfigSection.js | 2 +- .../form/components/docker_config/EnvVariablesPanel.js | 1 - ui/src/router/versions/list/ListRouterVersionsTable.js | 2 +- 6 files changed, 2 insertions(+), 7 deletions(-) diff --git a/ui/src/jobs/list/ListEnsemblingJobsTable.js b/ui/src/jobs/list/ListEnsemblingJobsTable.js index e7cec9f10..ff64122b0 100644 --- a/ui/src/jobs/list/ListEnsemblingJobsTable.js +++ b/ui/src/jobs/list/ListEnsemblingJobsTable.js @@ -233,8 +233,6 @@ export const ListEnsemblingJobsTable = ({ cellProps={cellProps} pagination={pagination} onChange={onTableChange} - hasActions={true} - responsive={true} tableLayout="auto" /> ); diff --git a/ui/src/router/components/configuration/components/router_config_section/RulesConfigTable.js b/ui/src/router/components/configuration/components/router_config_section/RulesConfigTable.js index 5518b821b..1ae54a26e 100644 --- a/ui/src/router/components/configuration/components/router_config_section/RulesConfigTable.js +++ b/ui/src/router/components/configuration/components/router_config_section/RulesConfigTable.js @@ -121,7 +121,6 @@ export const RulesConfigTable = ({ routes, rules = [], defaultTrafficRule }) => items={rulesWithRouteDetails} columns={columns} itemId="id" - isSelectable={false} cellProps={getCellProps} /> ); diff --git a/ui/src/router/components/configuration/components/standard_config_section/TreatmentMappingConfigSection.js b/ui/src/router/components/configuration/components/standard_config_section/TreatmentMappingConfigSection.js index 2954764a2..3f01b6cb7 100644 --- a/ui/src/router/components/configuration/components/standard_config_section/TreatmentMappingConfigSection.js +++ b/ui/src/router/components/configuration/components/standard_config_section/TreatmentMappingConfigSection.js @@ -26,7 +26,7 @@ const TreatmentMappingConfigTable = ({ items }) => { ]; return ( - + ); }; diff --git a/ui/src/router/components/form/components/docker_config/EnvVariablesPanel.js b/ui/src/router/components/form/components/docker_config/EnvVariablesPanel.js index 2e0e7a9ec..18b2457ce 100644 --- a/ui/src/router/components/form/components/docker_config/EnvVariablesPanel.js +++ b/ui/src/router/components/form/components/docker_config/EnvVariablesPanel.js @@ -87,7 +87,6 @@ export const EnvVariablesPanel = ({ columns={columns} rowProps={getRowProps} items={items} - hasActions={true} errors={errors} renderErrorHeader={(key) => `Row ${parseInt(key) + 1}`} /> diff --git a/ui/src/router/versions/list/ListRouterVersionsTable.js b/ui/src/router/versions/list/ListRouterVersionsTable.js index 7816c0e5e..9e5af4e97 100644 --- a/ui/src/router/versions/list/ListRouterVersionsTable.js +++ b/ui/src/router/versions/list/ListRouterVersionsTable.js @@ -234,7 +234,7 @@ export const ListRouterVersionsTable = ({ rowProps={rowProps} itemId="version" pagination={true} - hasActions={true} + // hasActions={true} sorting={{ sort: { field: "Version", direction: "desc" } }} /> );