Skip to content

Commit

Permalink
chore: close the confirmation modal if the team deletion attempt fails
Browse files Browse the repository at this point in the history
  • Loading branch information
jamesgeorge007 committed Mar 22, 2024
1 parent 38b2795 commit ebc18d0
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/hoppscotch-common/src/components/teams/Team.vue
Expand Up @@ -198,6 +198,7 @@ const deleteTeam = () => {
toast.error(`${t("error.something_went_wrong")}`)
console.error(err)
loading.value = false
confirmRemove.value = false
},
() => {
toast.success(`${t("team.deleted")}`)
Expand Down

0 comments on commit ebc18d0

Please sign in to comment.