fix: restore team project highlight matching
This commit is contained in:
parent
58c21f3d24
commit
db7c4fe160
1 changed files with 3 additions and 7 deletions
|
|
@ -846,13 +846,9 @@ export const TeamListView = (): React.JSX.Element => {
|
|||
const teamColorSet = team.color
|
||||
? getTeamColorSet(team.color)
|
||||
: nameColorSet(team.displayName);
|
||||
const matchesCurrentProject =
|
||||
!!currentProjectPath &&
|
||||
((team.projectPath
|
||||
? normalizePath(team.projectPath) === currentProjectPath
|
||||
: false) ||
|
||||
(team.projectPathHistory?.some((p) => normalizePath(p) === currentProjectPath) ??
|
||||
false));
|
||||
const matchesCurrentProject = currentProjectPath
|
||||
? teamMatchesProjectSelection(team, currentProjectPath)
|
||||
: false;
|
||||
return (
|
||||
<div
|
||||
key={team.teamName}
|
||||
|
|
|
|||
Loading…
Reference in a new issue