mirror of https://github.com/portainer/portainer
fix(teams): show add user notification EE-4899 (#10873)
parent
3103d498cf
commit
3f28d56bfc
|
@ -71,7 +71,7 @@ export function useAddMemberMutation(teamId: TeamId) {
|
||||||
notifyError('Failure', error as Error, 'Failure to add membership');
|
notifyError('Failure', error as Error, 'Failure to add membership');
|
||||||
},
|
},
|
||||||
onSuccess() {
|
onSuccess() {
|
||||||
return queryClient.invalidateQueries(['teams', teamId, 'memberships']);
|
queryClient.invalidateQueries(['teams', teamId, 'memberships']);
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
);
|
);
|
||||||
|
|
Loading…
Reference in New Issue