RED-9337: display reanalyse button for bulk select.

This commit is contained in:
Nicoleta Panaghiu 2024-06-24 07:12:13 +03:00
parent db1a618061
commit 06a5d2a844

View File

@ -132,7 +132,9 @@ export class DossierOverviewBulkActionsComponent implements OnChanges {
action: () => this._bulkActionsService.reanalyse(this.selectedFiles),
tooltip: _('dossier-overview.bulk.reanalyse'),
icon: 'iqser:refresh',
show: this.#canReanalyse && (this.#analysisForced || this.#canEnableAutoAnalysis),
show:
this.#canReanalyse &&
(this.#analysisForced || this.#canEnableAutoAnalysis || this.selectedFiles.every(file => file.isError)),
},
{
id: 'stop-automatic-analysis-btn',