Skip to content

Commit

Permalink
fix: fix life event modal not reset upon save (monicahq/chandler#510)
Browse files Browse the repository at this point in the history
  • Loading branch information
djaiss committed May 10, 2023
1 parent a91f3cb commit c791202
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions resources/js/Shared/Modules/CreateLifeEvent.vue
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 c791202

Please sign in to comment.