This commit is contained in:
Timo Bejan 2021-08-13 13:16:01 +03:00
parent f4a71b9b88
commit e9ee79f16a
6 changed files with 4 additions and 12 deletions

View File

@ -48,9 +48,9 @@ export class NotificationsComponent {
this._groupNotifications();
// TODO group notifications by date using same date-format as comments in workload
//
this._notificationControllerService.getNotifications(false).subscribe(response => {
console.log(response);
});
// this._notificationControllerService.getNotifications(false).subscribe(response => {
// console.log(response);
// });
}
get hasUnread() {

View File

@ -186,9 +186,6 @@ export class AnnotationWrapper {
}
static fromData(redactionLogEntry?: RedactionLogEntryWrapper) {
if (redactionLogEntry.status === 'REQUESTED') {
console.log(redactionLogEntry);
}
const annotationWrapper = new AnnotationWrapper();
annotationWrapper._origin = redactionLogEntry;

View File

@ -122,7 +122,6 @@ export class DictionaryListingScreenComponent extends ListingComponent<TypeValue
this._dictionaryControllerService.getDictionaryForType(this._appStateService.activeDossierTemplateId, dict.type).pipe(
tap(values => (dict.entries = values.entries ?? [])),
catchError(() => {
console.log('error');
dict.entries = [];
return of({});
})

View File

@ -152,6 +152,7 @@ export class FileActionsComponent extends AutoUnsubscribe implements OnInit, OnD
}
setFileUnderApproval($event: MouseEvent) {
$event.stopPropagation();
if (this.appStateService.activeDossier.approverIds.length > 1) {
this._fileActionService.assignFile('approver', $event, this.fileStatus, () => this.reloadDossiers('assign-reviewer'), true);
} else {

View File

@ -316,7 +316,6 @@ export class FilePreviewScreenComponent extends AutoUnsubscribe implements OnIni
openManualAnnotationDialog(entryWrapper: ManualRedactionEntryWrapper) {
this._ngZone.run(() => {
console.log({ entryWrapper });
this.dialogRef = this._dialogService.openDialog(
'manualAnnotation',
null,

View File

@ -34,10 +34,6 @@ export class PdfViewerDataService {
const dossierId = this._appStateService.activeDossierId;
const fileId = this._appStateService.activeFileId;
this._man.getManualRedaction(dossierId, fileId).subscribe(mr => {
console.log(mr);
});
const file$ = this.downloadOriginalFile(this._appStateService.activeFile);
const reactionLog$ = this._redactionLogControllerService.getRedactionLog(dossierId, fileId).pipe(catchError(() => of({})));
const redactionChangeLog$ = this._redactionLogControllerService