Skip to content
This repository has been archived by the owner on May 2, 2024. It is now read-only.

Commit

Permalink
Hitting the escape key on a linked action item causes it to be discar…
Browse files Browse the repository at this point in the history
…ded.
  • Loading branch information
Druage committed Apr 2, 2019
1 parent c090723 commit 53bd9fb
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,7 @@
[actionItem]="assignedActionItem"
(dialogDiscarded)="toggleActionItem()"
(dialogConfirmed)="createLinking()"
(keydown.escape)="hideActionItem(); $event.stopPropagation()"
>

</rq-action-item-task>
Original file line number Diff line number Diff line change
Expand Up @@ -135,5 +135,8 @@ export class TaskDialogComponent implements AfterContentChecked {
}
}

hideActionItem() {
this.actionItemIsVisible = false;
}
}

0 comments on commit 53bd9fb

Please sign in to comment.