We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 298d237 commit 8344f31Copy full SHA for 8344f31
1 file changed
src/pages/settings/Security/SecuritySettingsPage.tsx
@@ -446,11 +446,6 @@ function SecuritySettingsPage() {
446
prompt={translate('delegate.removeCopilotConfirmation')}
447
danger
448
onConfirm={() => {
449
- if (isActingAsDelegate) {
450
- setShouldShowRemoveDelegateModal(false);
451
- showDelegateNoAccessModal();
452
- return;
453
- }
454
removeDelegate({email: selectedDelegate?.email ?? '', delegatedAccess: account?.delegatedAccess});
455
setShouldShowRemoveDelegateModal(false);
456
setSelectedDelegate(undefined);
0 commit comments