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
|
const teamColorSet = team.color
|
||||||
? getTeamColorSet(team.color)
|
? getTeamColorSet(team.color)
|
||||||
: nameColorSet(team.displayName);
|
: nameColorSet(team.displayName);
|
||||||
const matchesCurrentProject =
|
const matchesCurrentProject = currentProjectPath
|
||||||
!!currentProjectPath &&
|
? teamMatchesProjectSelection(team, currentProjectPath)
|
||||||
((team.projectPath
|
: false;
|
||||||
? normalizePath(team.projectPath) === currentProjectPath
|
|
||||||
: false) ||
|
|
||||||
(team.projectPathHistory?.some((p) => normalizePath(p) === currentProjectPath) ??
|
|
||||||
false));
|
|
||||||
return (
|
return (
|
||||||
<div
|
<div
|
||||||
key={team.teamName}
|
key={team.teamName}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue