Skip to content

Commit

Permalink
adding toast on save
Browse files Browse the repository at this point in the history
  • Loading branch information
jareem committed Oct 29, 2023
1 parent a5870eb commit 3c54b17
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions frontend/pages/user.vue
Expand Up @@ -99,6 +99,8 @@ watch(extendedUserInformation, () => {
}
})
const toast = useToast()
const department = ref('')
const funfact = ref('')
const userInterests = ref<UserInterests>({})
Expand Down Expand Up @@ -136,6 +138,8 @@ const saveChanges = async () => {
team: department.value,
days: selectedDays.value
});
toast.add({title: 'Informations Saved!', icon: 'i-heroicons-check-circle'})
navigateTo('/')
};
Expand Down

0 comments on commit 3c54b17

Please sign in to comment.