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

re-add term notes ui

parent 7cf272b4
No related branches found
No related tags found
No related merge requests found
......@@ -96,6 +96,26 @@
</ng-template>
</div>
</div>
<!-- Render term note (if it exists) -->
<ng-container *ngIf="(note$ | async) as note">
<ng-container *ngIf="note.isLoaded; else noteIsLoading">
<div class="note-item" (click)="openNotesDialog(note)">
<p class="semi-bold">Note</p>
<p class="note-excerpt">{{ note.text }}</p>
</div>
</ng-container>
<ng-template #noteIsLoading>
<div class="note-item note-item-loading">
<p class="semi-bold">Note</p>
<p class="note-excerpt">{{ note.text }}</p>
<mat-progress-spinner
mode="indeterminate"
diameter="24"
></mat-progress-spinner>
</div>
</ng-template>
</ng-container>
</div>
<!-- If this term is an active term -->
......
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