mirror of
https://github.com/mattermost/mattermost.git
synced 2025-02-25 18:55:24 -06:00
Hid the close button when the unread badge is visible and moved it to the right side of the sidebar
This commit is contained in:
@@ -452,10 +452,10 @@ export default class Sidebar extends React.Component {
|
||||
}
|
||||
|
||||
let closeButton = null;
|
||||
if (handleClose) {
|
||||
if (handleClose && !badge) {
|
||||
closeButton = (
|
||||
<span
|
||||
className='sidebar-channel__close'
|
||||
className='sidebar-channel__close pull-right'
|
||||
data-close='true'
|
||||
>
|
||||
{'×'}
|
||||
|
||||
Reference in New Issue
Block a user