fix: btn gets disabled when prefs updated

This commit is contained in:
Arman committed 2022-06-13 17:43:09 +02:00
1 parent 5e2c2172fe
commit 66e7ced2ab
1 file changed
+2
@@ -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'