Skip to content

Commit 91b80b6

Browse files
Remove authorization badge from microsoft_graph
1 parent 79347af commit 91b80b6

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

resources/js/admin/settings/components/SettingsListing.vue

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -607,9 +607,7 @@ export default {
607607
filterEmailServerButtons(groupName, groupData, btn) {
608608
const authMethod = groupData.find(data => data.key.includes("EMAIL_CONNECTOR_MAIL_AUTH_METHOD"));
609609
const selectedAuthMethod = authMethod ? authMethod.ui.options[authMethod.config] : null;
610-
const mailDriver = groupData.find(data => data.key.includes("EMAIL_CONNECTOR_MAIL_DRIVER"));
611-
const selectedDriver = mailDriver ? mailDriver.ui.options[mailDriver.config] : null;
612-
const showAuthAccBtn = (selectedAuthMethod && selectedAuthMethod !== 'standard') || selectedDriver === 'microsoft_graph';
610+
const showAuthAccBtn = selectedAuthMethod && selectedAuthMethod !== 'standard';
613611
614612
if (groupName.includes('Email Server') && !showAuthAccBtn) {
615613
// Returns all 'top' position buttons except the '+ Mail Server' and 'Authorize Account' button for email server tabs

0 commit comments

Comments
 (0)