Skip to content

Commit

Permalink
Source/Collection 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 74d3982 commit fcb18d3
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/components/sources/Breadcrumbs.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,8 @@ const Breadcrumbs = ({
alertifyjs.success(`${containerLabel} Delete Accepted. This may take few minutes.`)
else if(get(response, 'status') === 400)
alertifyjs.error(get(response, 'data.detail', `${containerLabel} Delete Failed`))
else if(get(response, 'status') === 409)
alertifyjs.error(get(response, 'data.detail', `${containerLabel} delete already in queue`))
else
alertifyjs.error('Something bad happened!')
})
Expand Down

0 comments on commit fcb18d3

Please sign in to comment.