We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2057faa commit 98111c0Copy full SHA for 98111c0
src/presentation/components/team/MoreActions.vue
@@ -41,9 +41,13 @@ const triggerButton = ref<HTMLButtonElement>();
41
const menuItems: ContextMenuItem[] = [
42
{
43
title: t('noteSettings.team.contextMenu.remove'),
44
- onActivate: () => {
45
- handleRemove(props.teamMember);
+ onActivate: async () => {
46
hide();
+ try {
47
+ await handleRemove(props.teamMember);
48
+ } catch (error) {
49
+ console.error('Failed to remove team member', error);
50
+ }
51
},
52
53
];
0 commit comments