External Identifier as component with copy to clipboard (#1774)

Co-authored-by: Jose Alberto Hernandez <alberto@blue-daemon.local>
This commit is contained in:
José Alberto Hernández
2023-06-28 23:19:41 -06:00
committed by GitHub
co-authored by Jose Alberto Hernandez
parent d0bc11256d
commit f459b1ae4e
38 changed files with 309 additions and 72 deletions
@@ -24,7 +24,7 @@
</div>
<div class="container space-top" fxLayout="row" fxLayoutGap="20px">
<button mat-raised-button color="primary" (click)="runSelectedJobs()">
<button mat-raised-button color="primary" (click)="runSelectedJobs()" [disabled]="!isAnyJobSelected()">
<fa-icon icon="play" class="m-r-10"></fa-icon>
Run Selected Jobs
</button>
@@ -119,7 +119,7 @@
</div>
<div class="container space-top" fxLayout="row" fxLayoutGap="20px">
<button mat-raised-button color="primary" (click)="runSelectedJobs()">
<button mat-raised-button color="primary" (click)="runSelectedJobs()" [disabled]="!isAnyJobSelected()">
<fa-icon icon="play" class="m-r-10"></fa-icon>
Run Selected Jobs<ng-template #templateSchedulerJobs let-data let-popover="popover">
<h2>Template</h2>
@@ -156,6 +156,10 @@ export class ManageSchedulerJobsComponent implements OnInit, AfterViewInit {
});
}
isAnyJobSelected(): boolean {
return (this.selection.selected.length > 0);
}
runSelectedJobs(): void {
this.selection.selected.forEach((job) => {
this.systemService.runSelectedJob(job.jobId);