Merge branch 'RED-9337' into 'master'

RED-9337: display reanalyse button for bulk select.

See merge request redactmanager/red-ui!471
This commit is contained in:
Dan Percic 2024-06-24 11:20:17 +02:00
commit fe4e67b953

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',