@centreon/ui 23.10.1-MON-22545-selector-hostGroups-displays-multiple-same-values.3 → 23.10.1-MON-24266.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@centreon/ui",
3
- "version": "23.10.1-MON-22545-selector-hostGroups-displays-multiple-same-values.3",
3
+ "version": "23.10.1-MON-24266.0",
4
4
  "description": "Centreon UI Components",
5
5
  "scripts": {
6
6
  "eslint": "eslint ./src --ext .js,.jsx,.ts,.tsx --max-warnings 0",
@@ -25,8 +25,7 @@ const ConnectedAutocomplete = ({
25
25
  connectedAutocomplete,
26
26
  change,
27
27
  additionalMemoProps,
28
- type,
29
- disableSortedOptions = false
28
+ type
30
29
  }: InputPropsWithoutGroup): JSX.Element => {
31
30
  const { t } = useTranslation();
32
31
 
@@ -107,7 +106,6 @@ const ConnectedAutocomplete = ({
107
106
  <AutocompleteField
108
107
  dataTestId={dataTestId}
109
108
  disableClearable={false}
110
- disableSortedOptions={disableSortedOptions}
111
109
  disabled={disabled}
112
110
  error={error}
113
111
  field={filterKey}
@@ -52,7 +52,6 @@ export interface InputProps {
52
52
  Component: React.ComponentType<InputPropsWithoutGroup>;
53
53
  };
54
54
  dataTestId?: string;
55
- disableSortedOptions?: boolean;
56
55
  fieldName: string;
57
56
  fieldsTable?: {
58
57
  additionalFieldsToMemoize?: Array<string>;
@@ -91,7 +91,7 @@ const useGraphQuery = ({
91
91
  ? (timePeriodToUse as CustomTimePeriod)
92
92
  : getStartEndFromTimePeriod(timePeriodToUse as number);
93
93
 
94
- const definedMetrics = metrics.filter((metric) => metric);
94
+ const definedMetrics = metrics.filter((metric) => metric.replace('#', '%23'));
95
95
 
96
96
  const {
97
97
  data: graphData,