diff --git a/web/satellite/src/components/team/footerArea/DeleteUserArea.vue b/web/satellite/src/components/team/footerArea/DeleteUserArea.vue index 508f957fd..2eca39391 100644 --- a/web/satellite/src/components/team/footerArea/DeleteUserArea.vue +++ b/web/satellite/src/components/team/footerArea/DeleteUserArea.vue @@ -39,9 +39,9 @@ import { PM_ACTIONS, NOTIFICATION_ACTIONS } from '@/utils/constants/actionNames' return member.user.email; }); - const isSuccess = await this.$store.dispatch(PM_ACTIONS.DELETE, projectMemberEmails); + const response = await this.$store.dispatch(PM_ACTIONS.DELETE, projectMemberEmails); - if (!isSuccess) { + if (!response.isSuccess) { this.$store.dispatch(NOTIFICATION_ACTIONS.ERROR, 'Error while deleting users from team'); return;