@centreon/ui 24.11.9 → 24.11.10

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": "24.11.9",
3
+ "version": "24.11.10",
4
4
  "description": "Centreon UI Components",
5
5
  "scripts": {
6
6
  "update:deps": "pnpx npm-check-updates -i --format group",
@@ -40,7 +40,7 @@ const UnsavedChangesDialog = ({
40
40
 
41
41
  const labelMessage = `${
42
42
  isValidForm ? labelIfYouClickOnDiscard : labelThereAreErrorsInTheForm
43
- }. ${isValidForm ? '' : labelDoYouWantToQuitWithoutResolving}`;
43
+ } ${isValidForm ? '' : labelDoYouWantToQuitWithoutResolving}`;
44
44
 
45
45
  if (not(dialogOpened)) {
46
46
  return null;
@@ -2,7 +2,7 @@ export const labelDiscard = 'Discard';
2
2
  export const labelResolve = 'Resolve';
3
3
  export const labelIfYouClickOnDiscard =
4
4
  'If you click on Discard, your changes will not be saved.';
5
- export const labelThereAreErrorsInTheForm = 'There are errors in the form';
5
+ export const labelThereAreErrorsInTheForm = 'There are errors in the form.';
6
6
  export const labelDoYouWantToQuitWithoutResolving =
7
7
  'Do you want to quit the form without resolving the errors?';
8
8
  export const labelDoYouWantToSaveChanges = 'Do you want to save the changes?';
@@ -67,7 +67,7 @@ const Switch = ({
67
67
  label={t(label) as string}
68
68
  />
69
69
  ),
70
- memoProps: [value, disabled, additionalMemoProps]
70
+ memoProps: [value, disabled, additionalMemoProps, values]
71
71
  });
72
72
  };
73
73