Merge pull request #122 from sartography/chore/library=primary-process-571

Fixes #571 - Remove Primary Process from Library Workflow Specifications
This commit is contained in:
Dan Funk 2022-01-05 14:18:13 -05:00 committed by GitHub
commit e2dec24888
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -6,7 +6,7 @@
[attr.data-workflow-spec-id]="workflowSpec.id"
>
<mat-icon (click)="editFile(fm)" mat-list-icon>{{fm.type | getIconCode}}</mat-icon>
<ng-container *ngIf="fm.type === fileType.BPMN">
<ng-container *ngIf="fm.type === fileType.BPMN && !this.workflowSpec.library">
<button (click)="makePrimary(fm)" *ngIf="!fm.primary" mat-flat-button class="make-primary">
<mat-icon>radio_button_unchecked</mat-icon>
Make primary process