fix to display helpers only when the elements are visible
This commit is contained in:
parent
5aee1e91aa
commit
11d09cf090
@ -6,6 +6,7 @@
|
||||
[type]="circleButtonTypes.dark"
|
||||
[icon]="currentUser.isManager ? 'iqser:edit' : 'red:info'"
|
||||
iqserHelpMode="edit_dossier"
|
||||
[isVirtualScrollElement]="true"
|
||||
></iqser-circle-button>
|
||||
|
||||
<iqser-circle-button
|
||||
@ -20,5 +21,6 @@
|
||||
[files]="files"
|
||||
[type]="circleButtonTypes.dark"
|
||||
iqserHelpMode="download_dossier"
|
||||
[isVirtualScrollElement]="true"
|
||||
></redaction-file-download-btn>
|
||||
</div>
|
||||
|
||||
@ -156,7 +156,6 @@ export class ConfigService {
|
||||
checker: dossierTemplateChecker,
|
||||
});
|
||||
|
||||
console.log(this._quickFilters(entities));
|
||||
filterGroups.push({
|
||||
slug: 'quickFilters',
|
||||
filters: this._quickFilters(entities),
|
||||
|
||||
@ -11,6 +11,7 @@
|
||||
[tooltip]="btn.tooltip | translate"
|
||||
[type]="btn.buttonType || buttonType"
|
||||
[iqserHelpMode]="helpModeKey"
|
||||
[isVirtualScrollElement]="isVirtualScrolElement"
|
||||
></iqser-circle-button>
|
||||
|
||||
<!-- download redacted file-->
|
||||
@ -21,6 +22,7 @@
|
||||
[tooltipPosition]="tooltipPosition"
|
||||
[type]="buttonType"
|
||||
[iqserHelpMode]="helpModeKey"
|
||||
[isVirtualScrollElement]="isVirtualScrolElement"
|
||||
></redaction-file-download-btn>
|
||||
|
||||
<!-- exclude from redaction -->
|
||||
@ -34,6 +36,7 @@
|
||||
[matTooltip]="btn.tooltip | translate"
|
||||
[ngClass]="btn.class"
|
||||
[iqserHelpMode]="helpModeKey"
|
||||
[isVirtualScrollElement]="isVirtualScrolElement"
|
||||
color="primary"
|
||||
></mat-slide-toggle>
|
||||
</div>
|
||||
|
||||
@ -63,4 +63,8 @@ export class ExpandableFileActionsComponent implements OnChanges {
|
||||
await firstValueFrom(this._fileDownloadService.downloadFiles(filesIds, dossierId));
|
||||
this._toaster.info(_('download-status.queued'));
|
||||
}
|
||||
|
||||
get isVirtualScrolElement(): boolean {
|
||||
return this.helpModeKey === 'document_features';
|
||||
}
|
||||
}
|
||||
|
||||
@ -1 +1 @@
|
||||
Subproject commit 77d0a4bb1b575d4ebb0dea2b55cfb538794ad66b
|
||||
Subproject commit a3a090162cf50221004026886d437b1626c49e2f
|
||||
Loading…
x
Reference in New Issue
Block a user