Fixed: Enforce validation warnings

(cherry picked from commit 48ee1158ad4213fd0690842e2672f52d08f7ad26)

Closes #3761
This commit is contained in:
Bogdan 2023-05-26 18:35:31 +03:00
parent a05082b4c6
commit 59b4441b0d
3 changed files with 6 additions and 8 deletions

View file

@ -32,9 +32,9 @@ function createSaveProviderHandler(section, url, options = {}, removeStale = fal
const params = { ...queryParams };
// If the user is re-saving the same provider without changes
// force it to be saved. Only applies to editing existing providers.
// force it to be saved.
if (id && _.isEqual(saveData, lastSaveData)) {
if (_.isEqual(saveData, lastSaveData)) {
params.forceSave = true;
}