Skip to content

Commit

Permalink
fix(HotkeysService): specify default description for new hotkeys
Browse files Browse the repository at this point in the history
  • Loading branch information
EdricChan03 committed Jan 1, 2020
1 parent a03d30b commit f58bec2
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions projects/rss-reader/src/app/hotkeys/hotkeys.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,8 @@ export class HotkeysService {
hotkeys = new Map<string, string>();
readonly hotkeyHelpDialogId = 'hotkey-help-dialog';
defaults: Partial<HotkeyOptions> = {
// Specify a default description for hotkeys with no specified desc
description: '<No description>',
element: this.document
};

Expand Down

0 comments on commit f58bec2

Please sign in to comment.