+{{overflowCount}}
diff --git a/apps/red-ui/src/app/screens/project-overview-screen/project-overview-screen.component.ts b/apps/red-ui/src/app/screens/project-overview-screen/project-overview-screen.component.ts
index 59efd5162..5cfd2cdbe 100644
--- a/apps/red-ui/src/app/screens/project-overview-screen/project-overview-screen.component.ts
+++ b/apps/red-ui/src/app/screens/project-overview-screen/project-overview-screen.component.ts
@@ -69,20 +69,12 @@ export class ProjectOverviewScreenComponent implements OnInit, OnDestroy {
return this._userService.user;
}
- public get members() {
- return this.activeProject.memberIds.map(m => this._userService.getName(this._userService.getUserById(m)));
- }
-
public get displayMembers() {
- return this.members.slice(0, 6);
+ return this.activeProject.memberIds.slice(0, 6);
}
public get overflowCount() {
- return this.members.length > 6 ? this.members.length - 6 : 0;
- }
-
- public get ownerName() {
- return this._userService.getNameForId(this.activeProject.ownerId);
+ return this.activeProject.memberIds.length > 6 ? this.activeProject.memberIds.length - 6 : 0;
}
private _getFileStatus() {
@@ -190,10 +182,6 @@ export class ProjectOverviewScreenComponent implements OnInit, OnDestroy {
return fileStatus === 'PROCESSING' || fileStatus === 'REVIEWED' || true;
}
- public getFileOwnerUsername(fileStatus: FileStatus) {
- return this._userService.getNameForId(fileStatus.currentReviewer);
- }
-
public toggleSortByAddedOn() {
const sortedByRecent: boolean = (this.sortingOption === this.sortingOptions[0]);
this.sortingOption = sortedByRecent ? this.sortingOptions[1] : this.sortingOptions[0];