[MM-38524] Rework the closing and opening tab logic, fixed login issue (#1735)
* Rework the closing and opening tab logic to better suit adding and removing servers * A couple more fixes * Lint fix * [MM-38524] Fix login issue * Remove unneeded code
This commit is contained in:
@@ -85,7 +85,7 @@ export default class TabBar extends React.PureComponent<Props> {
|
||||
index={orderedIndex}
|
||||
>
|
||||
{(provided, snapshot) => {
|
||||
if (tab.isClosed) {
|
||||
if (!tab.isOpen) {
|
||||
return (
|
||||
<div
|
||||
ref={provided.innerRef}
|
||||
|
Reference in New Issue
Block a user