fixed reload on review assign

This commit is contained in:
Timo Bejan 2020-11-17 11:13:17 +02:00
parent 797a3b431c
commit fa5bf6f923

View File

@ -453,13 +453,13 @@ export class FilePreviewScreenComponent implements OnInit, OnDestroy {
public assignReviewer() {
this._fileActionService.assignProjectReviewer(this.fileData.fileStatus, async () => {
await this._loadFileData().toPromise();
this.canPerformAnnotationActions = this.permissionsService.canPerformAnnotationActions();
});
}
public assignToMe() {
this._fileActionService.assignToMe(this.fileData.fileStatus, async () => {
await this._loadFileData().toPromise();
this.canPerformAnnotationActions = this.permissionsService.canPerformAnnotationActions();
});
}
}