diff --git a/apps/red-ui/src/app/common/file-actions/file-actions.component.html b/apps/red-ui/src/app/common/file-actions/file-actions.component.html
index a2179d019..eb2505a8b 100644
--- a/apps/red-ui/src/app/common/file-actions/file-actions.component.html
+++ b/apps/red-ui/src/app/common/file-actions/file-actions.component.html
@@ -4,9 +4,9 @@
(action)="openDeleteFileDialog($event, fileStatus)"
*ngIf="permissionsService.canDeleteFile(fileStatus)"
[tooltipPosition]="tooltipPosition"
- tooltip="project-overview.delete.action"
- icon="red:trash"
[type]="buttonType"
+ icon="red:trash"
+ tooltip="project-overview.delete.action"
>
@@ -14,50 +14,9 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
@@ -66,12 +25,12 @@
@@ -80,9 +39,55 @@
(action)="downloadFile($event, fileStatus)"
*ngIf="permissionsService.canDownloadRedactedFile(fileStatus)"
[tooltipPosition]="tooltipPosition"
- tooltip="project-overview.download-redacted-file"
- icon="red:download"
[type]="buttonType"
+ icon="red:download"
+ tooltip="project-overview.download-redacted-file"
+ >
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -91,10 +96,10 @@
(action)="reanalyseFile($event, fileStatus)"
*ngIf="permissionsService.canReanalyseFile(fileStatus) && screen === 'file-preview'"
[tooltipPosition]="'before'"
- tooltip="file-preview.reanalyse-notification"
- type="warn"
- tooltipClass="warn small"
icon="red:refresh"
+ tooltip="file-preview.reanalyse-notification"
+ tooltipClass="warn small"
+ type="warn"
>
@@ -103,8 +108,8 @@
(action)="reanalyseFile($event, fileStatus)"
*ngIf="permissionsService.canReanalyseFile(fileStatus) && screen === 'project-overview'"
[tooltipPosition]="tooltipPosition"
- tooltip="project-overview.reanalyse.action"
icon="red:refresh"
+ tooltip="project-overview.reanalyse.action"
type="dark-bg"
>
diff --git a/apps/red-ui/src/app/common/file-actions/file-actions.component.ts b/apps/red-ui/src/app/common/file-actions/file-actions.component.ts
index 6dca70ad1..1d7918d17 100644
--- a/apps/red-ui/src/app/common/file-actions/file-actions.component.ts
+++ b/apps/red-ui/src/app/common/file-actions/file-actions.component.ts
@@ -85,12 +85,12 @@ export class FileActionsComponent implements OnInit {
});
}
- setFileUnderReview($event: MouseEvent, fileStatus: FileStatusWrapper) {
+ setFileUnderReview($event: MouseEvent, fileStatus: FileStatusWrapper, ignoreDialogChanges = false) {
$event.stopPropagation();
// this._fileActionService.setFileUnderReview(fileStatus).subscribe(() => {
// this.reloadProjects('set-review');
// });
- this._fileActionService.assignProjectReviewer(fileStatus, () => this.actionPerformed.emit('assign-reviewer'));
+ this._fileActionService.assignProjectReviewer(fileStatus, () => this.actionPerformed.emit('assign-reviewer'), ignoreDialogChanges);
}
reloadProjects(action: string) {
diff --git a/apps/red-ui/src/app/dialogs/assign-owner-dialog/assign-owner-dialog.component.html b/apps/red-ui/src/app/dialogs/assign-owner-dialog/assign-owner-dialog.component.html
index 25c33a2a0..838dddd18 100644
--- a/apps/red-ui/src/app/dialogs/assign-owner-dialog/assign-owner-dialog.component.html
+++ b/apps/red-ui/src/app/dialogs/assign-owner-dialog/assign-owner-dialog.component.html
@@ -2,7 +2,7 @@