diff --git a/app/static/src/app/components/options/EditParamSettings.vue b/app/static/src/app/components/options/EditParamSettings.vue
index f6665c52b..b8e5678bb 100644
--- a/app/static/src/app/components/options/EditParamSettings.vue
+++ b/app/static/src/app/components/options/EditParamSettings.vue
@@ -191,13 +191,15 @@ export default defineComponent({
});
const updateUserValues = (newValues: number[]) => {
// sort and remove duplicates
- const cleaned = Array.from(new Set(newValues)).sort((a, b) => a - b);
- settingsInternal.customValues = cleaned;
+ settingsInternal.customValues = newValues;
};
const close = () => { emit("close"); };
const updateSettings = () => {
- store.commit(`sensitivity/${SensitivityMutation.SetParamSettings}`, { ...settingsInternal });
+ // sort custom values
+ const customValues = settingsInternal.customValues.sort((a, b) => a - b);
+ store.commit(`sensitivity/${SensitivityMutation.SetParamSettings}`,
+ { ...settingsInternal, customValues });
close();
};
diff --git a/app/static/src/app/components/options/TagInput.vue b/app/static/src/app/components/options/TagInput.vue
index a29c983ff..c8721f949 100644
--- a/app/static/src/app/components/options/TagInput.vue
+++ b/app/static/src/app/components/options/TagInput.vue
@@ -1,15 +1,17 @@