From 08115a93a64ca3c57735a52b42b9bd99ac9762f7 Mon Sep 17 00:00:00 2001 From: Jan Kessler Date: Wed, 29 Nov 2023 10:53:22 +0100 Subject: [PATCH] remove divider in settings dropdown, if leave button is enabled --- .../ui/components/nav-bar/settings-dropdown/component.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bigbluebutton-html5/imports/ui/components/nav-bar/settings-dropdown/component.jsx b/bigbluebutton-html5/imports/ui/components/nav-bar/settings-dropdown/component.jsx index cef2fd276b..da7127fd48 100644 --- a/bigbluebutton-html5/imports/ui/components/nav-bar/settings-dropdown/component.jsx +++ b/bigbluebutton-html5/imports/ui/components/nav-bar/settings-dropdown/component.jsx @@ -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, }, );