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

fix note click events

parent d0216680
No related branches found
No related tags found
No related merge requests found
...@@ -10,6 +10,7 @@ ...@@ -10,6 +10,7 @@
aria-label="Open dialog with notes in this term" aria-label="Open dialog with notes in this term"
color="primary" color="primary"
matTooltip="Edit Note" matTooltip="Edit Note"
(click)="openNotesDialog(note)"
matTooltipPosition="above"> matTooltipPosition="above">
insert_drive_file insert_drive_file
</mat-icon> </mat-icon>
...@@ -19,6 +20,7 @@ ...@@ -19,6 +20,7 @@
aria-label="Open dialog with notes in this term" aria-label="Open dialog with notes in this term"
color="primary" color="primary"
matTooltip="Add Note" matTooltip="Add Note"
(click)="openNotesDialog()"
matTooltipPosition="above"> matTooltipPosition="above">
note_add note_add
</mat-icon> </mat-icon>
...@@ -35,7 +37,7 @@ ...@@ -35,7 +37,7 @@
<!-- Render term note (if it exists) --> <!-- Render term note (if it exists) -->
<ng-container *ngIf="note$ | async as note"> <ng-container *ngIf="note$ | async as note">
<div class="note-item"> <div class="note-item" (click)="openNotesDialog(note)">
<p class="semi-bold">Note</p> <p class="semi-bold">Note</p>
<p class="note-excerpt">{{ note.note }}</p> <p class="note-excerpt">{{ note.note }}</p>
</div> </div>
......
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