file status wrapper getter methods

This commit is contained in:
Timo 2021-02-05 16:08:06 +02:00
parent b59479b663
commit 17c4db0d5d

View File

@ -16,6 +16,14 @@ export class FileStatusWrapper {
return this.fileStatus.lastUploaded;
}
get hasImages() {
return this.fileStatus.hasImages;
}
get hasUpdates() {
return this.fileStatus.hasUpdates && !this.hasRequests;
}
get hasUnappliedSuggestions() {
return !this.fileStatus.allManualRedactionsApplied;
}