Commit 6bd6e91f authored by Kev's avatar Kev

Fix user list selection is not in sync with UI

Changelog: fixed
parent db259d5b
......@@ -142,7 +142,14 @@ export default {
return !this.$options.rolloutPercentageRegex.test(percentage);
}),
onFormStrategyChange(strategy, index) {
const currentUserListId = this.filteredStrategies[index]?.userList?.id;
const newUserListId = strategy?.userList?.id;
Object.assign(this.filteredStrategies[index], strategy);
if (currentUserListId !== newUserListId) {
this.formStrategies = [...this.formStrategies];
}
},
},
};
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment