improve config and mock infra

This commit is contained in:
Matt Hill
2021-06-15 10:16:51 -06:00
committed by Aiden McClelland
parent c5f2379c6e
commit 1b0173197f
8 changed files with 73 additions and 37 deletions

View File

@@ -8,9 +8,9 @@
<ion-title>
{{ spec.name }}
</ion-title>
<ion-buttons slot="end">
<ion-button [disabled]="!!error" (click)="done()" color="primary">
{{ saveFn ? 'Save' : 'Done' }}
<ion-buttons *ngIf="!!saveFn" slot="end">
<ion-button [disabled]="!!error" (click)="save()" color="primary">
Save
</ion-button>
</ion-buttons>
</ion-toolbar>