Skip to content

Commit

Permalink
feat: Add renderValueOrNoValue function to cluster.js
Browse files Browse the repository at this point in the history
  • Loading branch information
yenienserrano committed May 14, 2024
1 parent 7bf7340 commit 2d7c439
Showing 1 changed file with 6 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ import WzConfigurationSettingsGroup from '../util-components/configuration-setti
import WzConfigurationSettingsHeader from '../util-components/configuration-settings-header';
import WzNoConfig from '../util-components/no-config';
import withWzConfig from '../util-hocs/wz-config';
import { isString } from '../utils/utils';
import { isString, renderValueOrNoValue } from '../utils/utils';

import { connect } from 'react-redux';
import { compose } from 'redux';
Expand Down Expand Up @@ -62,7 +62,11 @@ const haproxySettings = [
label: 'Remove disconnected node after',
},
{ field: 'haproxy_helper.haproxy_resolver', label: 'Resolver' },
{ field: 'haproxy_helper.excluded_nodes', label: 'Excluded nodes' },
{
field: 'haproxy_helper.excluded_nodes',
label: 'Excluded nodes',
render: renderValueOrNoValue,
},
];

const helpLinks = [
Expand Down

0 comments on commit 2d7c439

Please sign in to comment.