diff --git a/apps/red-ui/src/app/modules/dossier/components/file-workload/components/annotations-list/annotations-list.component.scss b/apps/red-ui/src/app/modules/dossier/components/file-workload/components/annotations-list/annotations-list.component.scss index 60afc5027..66c43d684 100644 --- a/apps/red-ui/src/app/modules/dossier/components/file-workload/components/annotations-list/annotations-list.component.scss +++ b/apps/red-ui/src/app/modules/dossier/components/file-workload/components/annotations-list/annotations-list.component.scss @@ -7,6 +7,7 @@ .annotation-wrapper { display: flex; + position: relative; width: 100%; border-bottom: 1px solid variables.$separator; diff --git a/apps/red-ui/src/app/modules/dossier/screens/file-preview-screen/file-preview-screen.component.ts b/apps/red-ui/src/app/modules/dossier/screens/file-preview-screen/file-preview-screen.component.ts index 7ed3f5173..d46cd2a4a 100644 --- a/apps/red-ui/src/app/modules/dossier/screens/file-preview-screen/file-preview-screen.component.ts +++ b/apps/red-ui/src/app/modules/dossier/screens/file-preview-screen/file-preview-screen.component.ts @@ -440,10 +440,15 @@ export class FilePreviewScreenComponent extends AutoUnsubscribe implements OnIni this.editingReviewer = false; switch (action) { + case 'enable-analysis': + case 'disable-analysis': + this._loadingService.start(); + // the trigger will disable it later + break; + case 'delete': return this.dossiersService.goToActiveDossier(); - case 'enable-analysis': case 'reanalyse': await this._loadFileData(true); this._updateCanPerformActions(); diff --git a/apps/red-ui/src/app/modules/shared/services/dictionary.service.ts b/apps/red-ui/src/app/modules/shared/services/dictionary.service.ts index a41011919..878642f38 100644 --- a/apps/red-ui/src/app/modules/shared/services/dictionary.service.ts +++ b/apps/red-ui/src/app/modules/shared/services/dictionary.service.ts @@ -79,7 +79,7 @@ export class DictionaryService extends EntitiesService * Creates entry type with colors, hint and caseInsensitive */ @Validate() - addType(@RequiredParam() body: ITypeValue, @RequiredParam() dossierId?: string) { + addType(@RequiredParam() body: ITypeValue, dossierId?: string) { const queryParams = dossierId ? [{ key: 'dossierId', value: dossierId }] : undefined; return this._post(body, `${this._defaultModelPath}/type`, queryParams); }