fix: btn gets disabled when prefs updated

This commit is contained in:
Arman
2022-06-13 17:43:09 +02:00
parent 5e2c2172fe
commit 66e7ced2ab
@@ -126,6 +126,8 @@
newPref = null;
await sdkForProject.users.updatePrefs($user.$id, updatedPrefs);
$user.prefs = updatedPrefs;
arePrefsDisabled = true;
addNotification({
message: 'Preferences have been updated',
type: 'success'