Skip to content

Commit

Permalink
Org delete | already queued handling
Browse files Browse the repository at this point in the history
  • Loading branch information
snyaggarwal committed Sep 27, 2022
1 parent fcb18d3 commit 7cc1657
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/components/orgs/HomeHeader.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -123,6 +123,8 @@ const HomeHeader = ({
alertifyjs.success('Organization delete is queued, this may take few minutes.', () => window.location.reload())
else if(response.status === 204)
alertifyjs.success('Organization is deleted', 3, () => window.location.reload())
else if(response.status === 409)
alertifyjs.warning('Organization delete is already in queue', 0)
else
alertifyjs.error('Something bad might have happened!')
})
Expand Down

0 comments on commit 7cc1657

Please sign in to comment.