Skip to content
This repository has been archived by the owner on Jun 8, 2023. It is now read-only.

Commit

Permalink
fix: fix life event modal not reset upon save (#510)
Browse files Browse the repository at this point in the history
  • Loading branch information
djaiss committed May 10, 2023
1 parent b5796a5 commit b435e13
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions resources/js/Shared/Modules/CreateLifeEvent.vue
Original file line number Diff line number Diff line change
Expand Up @@ -165,6 +165,9 @@ const store = () => {
} else {
emit('lifeEventCreated', response.data.data);
}
selectedLifeEventType.value = null;
resetModal();
})
.catch(() => {
loadingState.value = '';
Expand Down

0 comments on commit b435e13

Please sign in to comment.