web/satellite/vuetify-poc: emit success notification on access grant delete

Show success notification after access grant deletion.

Issue:
https://github.com/storj/storj/issues/6364

Change-Id: Idebc4210ff5efbaab0c71ad519d34de4e1803420
This commit is contained in:
Vitalii 2023-10-03 17:17:11 +03:00 committed by Storj Robot
parent 6961d2e19d
commit 95958a3c5c

View File

@ -110,6 +110,7 @@ async function onDeleteClick(): Promise<void> {
await withLoading(async () => {
try {
await agStore.deleteAccessGrantByNameAndProjectID(props.accessName, projectsStore.state.selectedProject.id);
notify.success(`Access Grant deleted successfully`);
emit('deleted');
model.value = false;
} catch (error) {