RED-9337: display reanalyse button for bulk select.

This commit is contained in:
Nicoleta Panaghiu 2024-06-24 07:12:13 +03:00
parent 6e60cff400
commit 3d481e5e47

View File

@ -138,7 +138,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',