[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:
Devin Binnie
2021-09-16 13:35:07 -04:00
committed by GitHub
parent df57051eaa
commit b25ccfeecf
12 changed files with 76 additions and 55 deletions

View File

@@ -30,17 +30,15 @@ export function getDefaultTeamWithTabsFromTeam(team: Team) {
{
name: TAB_MESSAGING,
order: 0,
isClosed: false,
isOpen: true,
},
{
name: TAB_FOCALBOARD,
order: 1,
isClosed: false,
},
{
name: TAB_PLAYBOOKS,
order: 2,
isClosed: false,
},
],
};