File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
frontend/src/components/CardBoard/CardBody Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -38,13 +38,13 @@ const CardEnd: React.FC<CardEndProps> = React.memo(
3838
3939 const boardTypeCaption = useMemo ( ( ) => {
4040 if ( isSubBoard && ! isDashboard ) return 'Responsible' ;
41- if ( isSubBoard && ! team && isDashboard ) return 'Team' ;
41+ if ( isSubBoard && isDashboard ) return 'Team' ;
4242 if ( team ) return 'Team' ;
4343 return 'Personal' ;
4444 } , [ isDashboard , isSubBoard , team ] ) ;
4545
4646 const boardOwnerName = useMemo ( ( ) => {
47- if ( team ) {
47+ if ( team && ! isSubBoard ) {
4848 return team ?. name ;
4949 }
5050 if ( isSubBoard && isDashboard && index !== undefined ) {
@@ -67,7 +67,7 @@ const CardEnd: React.FC<CardEndProps> = React.memo(
6767 { boardOwnerName }
6868 </ Text >
6969 < CardAvatars
70- listUsers = { ! team ? users : team . users }
70+ listUsers = { ! team || isSubBoard ? users : team . users }
7171 responsible = { false }
7272 teamAdmins = { false }
7373 userId = { userId }
You can’t perform that action at this time.
0 commit comments