#8031 - Enable notify positive when user update self data #750
No reviewers
Labels
No Milestone
No Assignees
2 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: verdnatura/salix-front#750
Loading…
Reference in New Issue
No description provided.
Delete Branch "8031_notify_dataSaved"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Enable notify positive when user update self datato #8031 - Enable notify positive when user update self data@ -77,0 +79,4 @@
});
user.value.darkMode = value;
notify('globals.dataSaved', 'positive');
} catch (error) {
Con un try catch para un console.log, el usuario no se dará cuenta si falla
@ -85,0 +92,4 @@
});
user.value.lang = value;
notify('globals.dataSaved', 'positive');
} catch (error) {
Con un try catch para un console.log, el usuario no se dará cuenta si falla
@ -103,0 +115,4 @@
axios.post('UserConfigs/setUserConfig', { [param]: value });
localUserData();
notify('globals.dataSaved', 'positive');
} catch (error) {
Con un try catch para un console.log, el usuario no se dará cuenta si falla
@ -103,2 +121,3 @@
}
const isEmployee = computed(() => useRole().isEmployee());
const onDataSaved = () => {
No se llama nunca
@alexm he añadido e2e