Skip to content

Commit

Permalink
Show snackbar when resource is removed.
Browse files Browse the repository at this point in the history
  • Loading branch information
rtibbles committed Oct 13, 2023
1 parent 40acc47 commit 98a8ca9
Showing 1 changed file with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -156,6 +156,12 @@ export default function useDownloadRequests(store) {
id: contentRequest.id,
});
Vue.delete(downloadRequestMap, contentRequest.contentnode_id);
store.commit('CORE_CREATE_SNACKBAR', {
text: downloadRequestsTranslator.$tr('resourceRemoved'),
backdrop: false,
forceReuse: true,
autoDismiss: true,
});
return Promise.resolve();
}

Expand Down

0 comments on commit 98a8ca9

Please sign in to comment.