@@ -147,6 +151,7 @@
[type]="circleButtonTypes.dark"
icon="iqser:refresh"
>
+
();
dossier$: Observable;
- statusBarConfig?: List>;
- tooltipPosition?: 'below' | 'above';
toggleTooltip?: string;
assignTooltip?: string;
buttonType?: CircleButtonType;
@@ -95,6 +91,10 @@ export class FileActionsComponent extends AutoUnsubscribe implements OnInit, OnD
return this.type === 'file-preview';
}
+ get tooltipPosition() {
+ return this.isFilePreview ? 'below' : 'above';
+ }
+
get isDossierOverview(): boolean {
return this.type.startsWith('dossier-overview-list');
}
@@ -234,8 +234,6 @@ export class FileActionsComponent extends AutoUnsubscribe implements OnInit, OnD
}
setup() {
- this.statusBarConfig = [{ color: this.file.workflowStatus, length: 1 }];
- this.tooltipPosition = this.isFilePreview ? 'below' : 'above';
this.assignTooltip = this.file.isUnderApproval ? _('dossier-overview.assign-approver') : _('dossier-overview.assign-reviewer');
this.buttonType = this.isFilePreview ? CircleButtonTypes.default : CircleButtonTypes.dark;
this.toggleTooltip = this._toggleTooltip;
diff --git a/libs/common-ui b/libs/common-ui
index aa7926da8..710d01445 160000
--- a/libs/common-ui
+++ b/libs/common-ui
@@ -1 +1 @@
-Subproject commit aa7926da8d93542ff0d0d93de5da4547db1e3cb1
+Subproject commit 710d014455779412dc28b1b5bc34d96b3f0b27b3