Skip to content

Commit d4fc89c

Browse files
committed
fix group leave notification
1 parent 6c0f10e commit d4fc89c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/components/access_group/AccessGroupLeaveConfirmationNotification.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ export default {
100100
path: 'self/delete',
101101
endpointArguments: [this.$route.params.groupname],
102102
});
103-
return r?.error === 'last_admin_of_group';
103+
return r?.error !== 'last_admin_of_group';
104104
},
105105
async handleLeaveClick() {
106106
this.setLoading();

0 commit comments

Comments
 (0)