remove divider in settings dropdown, if leave button is enabled
This commit is contained in:
parent
630c79e5c7
commit
08115a93a6
@ -338,7 +338,7 @@ class SettingsDropdown extends PureComponent {
|
||||
icon: 'manage_layout',
|
||||
label: intl.formatMessage(intlMessages.layoutModal),
|
||||
onClick: () => this.setLayoutModalIsOpen(true),
|
||||
divider: true,
|
||||
divider: isDirectLeaveButtonEnabled ? false : true,
|
||||
},
|
||||
);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user