remove divider in settings dropdown, if leave button is enabled

This commit is contained in:
Jan Kessler 2023-11-29 10:53:22 +01:00
parent 630c79e5c7
commit 08115a93a6

View File

@ -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,
},
);