reanalyse

This commit is contained in:
Timo Bejan 2020-11-16 15:19:34 +02:00
parent a7a29f854e
commit 0b90c19762

View File

@ -53,8 +53,7 @@ export class PermissionsService {
if (!fileStatus) {
fileStatus = this._appStateService.activeFile;
}
return true;
// return (this.fileRequiresReanalysis(fileStatus) && this.isReviewerOrOwner(fileStatus)) || (fileStatus.isError && fileStatus.isUnassigned);
return (this.fileRequiresReanalysis(fileStatus) && this.isReviewerOrOwner(fileStatus)) || (fileStatus.isError && fileStatus.isUnassigned);
}
isFileReviewer(fileStatus?: FileStatusWrapper) {