Skip to content
This repository has been archived by the owner on Nov 28, 2024. It is now read-only.

Commit

Permalink
Enactment states column
Browse files Browse the repository at this point in the history
  • Loading branch information
upalatucci committed Oct 25, 2023
1 parent b2e2d6d commit a8bd922
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 deletions.
3 changes: 1 addition & 2 deletions locales/en/plugin__nmstate-console-plugin.json
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@
"Edit YAML": "Edit YAML",
"Enable STP": "Enable STP",
"Enabled": "Enabled",
"Enactment state": "Enactment state",
"Enactment states": "Enactment states",
"Enactments categorized by status": "Enactments categorized by status",
"Enter name": "Enter name",
"Explore {{kind}} list": "Explore {{kind}} list",
Expand Down Expand Up @@ -86,7 +86,6 @@
"No node network configuration policies defined yet": "No node network configuration policies defined yet",
"No NodeNetworkStates found": "No NodeNetworkStates found",
"Node network is configured and managed by NM state. Create a node netowrk configuration policy to describe the requested network configuration on your nodes in the cluster. The node network configuration enactment reports the netwrok policies enacted upon each node.": "Node network is configured and managed by NM state. Create a node netowrk configuration policy to describe the requested network configuration on your nodes in the cluster. The node network configuration enactment reports the netwrok policies enacted upon each node.",
"Node network state": "Node network state",
"Node Selector": "Node Selector",
"NodeNetworkConfigurationPolicy": "NodeNetworkConfigurationPolicy",
"NodeNetworkState": "NodeNetworkState",
Expand Down
2 changes: 1 addition & 1 deletion src/views/policies/list/hooks/usePolicyColumns.ts
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ const usePolicyColumns = (): [
props: { className: 'pf-m-width-30' },
},
{
title: t('Node network state'),
title: t('Enactment states'),
id: 'status',
props: { className: 'pf-m-width-30' },
},
Expand Down
2 changes: 1 addition & 1 deletion src/views/policies/list/hooks/usePolicyFilters.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ const usePolicyFilters = (

return [
{
filterGroupName: t('Enactment state'),
filterGroupName: t('Enactment states'),
type: 'enactment-state',
isMatch: (obj, status) => enactmentsByPolicies[obj?.metadata?.name]?.[status],
filter: ({ selected }, obj) =>
Expand Down

0 comments on commit a8bd922

Please sign in to comment.