Skip to content
Snippets Groups Projects
Commit c035b812 authored by Isaac Evavold's avatar Isaac Evavold
Browse files

disable new audit buttons if audit metadata isn't loaded

parent f34f6d78
No related branches found
No related tags found
No related merge requests found
...@@ -34,7 +34,14 @@ ...@@ -34,7 +34,14 @@
<p class="mat-body">See the progress towards your current program of study and degree plans.</p> <p class="mat-body">See the progress towards your current program of study and degree plans.</p>
</div> </div>
<div> <div>
<button mat-raised-button aria-label="Run new degree audit" color="primary" (click)="openNewAuditOptionsDialog()">Run new degree audit</button> <button
mat-raised-button
aria-label="Run new degree audit"
color="primary"
[disabled]="(metadataStatus$ | async) != 'Loaded'"
(click)="openNewAuditOptionsDialog()">
Run new degree audit
</button>
</div> </div>
</div> </div>
...@@ -62,6 +69,7 @@ ...@@ -62,6 +69,7 @@
<button <button
mat-raised-button mat-raised-button
aria-label="Run new degree audit" aria-label="Run new degree audit"
[disabled]="(metadataStatus$ | async) != 'Loaded'"
color="primary"> color="primary">
Run new &lsquo;what if&rsquo; audit Run new &lsquo;what if&rsquo; audit
</button> </button>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment