diff --git a/apps/red-ui/src/app/common/initials-avatar/initials-avatar.component.scss b/apps/red-ui/src/app/common/initials-avatar/initials-avatar.component.scss index 070f2e800..d7424a376 100644 --- a/apps/red-ui/src/app/common/initials-avatar/initials-avatar.component.scss +++ b/apps/red-ui/src/app/common/initials-avatar/initials-avatar.component.scss @@ -1,6 +1,5 @@ @import '../../../assets/styles/red-variables'; .flex-row { - flex-wrap: wrap; gap: 12px; } diff --git a/apps/red-ui/src/app/screens/file/service/file-action.service.ts b/apps/red-ui/src/app/screens/file/service/file-action.service.ts index bfb448674..9f8f4e2c6 100644 --- a/apps/red-ui/src/app/screens/file/service/file-action.service.ts +++ b/apps/red-ui/src/app/screens/file/service/file-action.service.ts @@ -17,7 +17,6 @@ export class FileActionService { private _appStateService: AppStateService ) {} - // TODO refactor callback to observable or promise public assignProjectReviewer(file?: FileStatus, callback?: Function) { if (this._appStateService.isActiveProjectOwnerAndManager) { this._dialogService.openAssignFileReviewerDialog( 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 f5b9de127..a109f4bcb 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 @@ -209,7 +209,7 @@ export class ProjectOverviewScreenComponent implements OnInit, OnDestroy { public assignReviewer($event: MouseEvent, file: FileStatusWrapper) { $event.stopPropagation(); - this._fileActionService.assignProjectReviewer(file, () => this.reloadProjects()); + this._fileActionService.assignProjectReviewer(file, () => this._calculateData()); } public reanalyseFile($event: MouseEvent, fileStatusWrapper: FileStatusWrapper) {