Automatically flush cache when updating admins list

This commit is contained in:
yflory 2025-03-12 14:46:00 +01:00
parent 396d77a6e4
commit d5817563f3

View File

@ -275,6 +275,7 @@ define([
$b.prop('disabled', false);
if (err) { return; }
APP.updateStatus(function () {
flushCache();
evRefreshAdmins.fire();
});
});
@ -314,6 +315,7 @@ define([
return void cb('ERROR');
}
if (typeof(cb) === "function") { cb(); }
flushCache();
});
};