Skip to content
This repository was archived by the owner on Aug 3, 2021. It is now read-only.

Commit

Permalink
fix(menu i18n) use default if key return is undefined
Browse files Browse the repository at this point in the history
  • Loading branch information
vegarringdal committed Aug 28, 2017
1 parent cd01060 commit 2ca4291
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/grid/contextMenu.ts
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,7 @@ export class ContextMenu {
public updateMenuStrings(key: string, text: string) {

if (this.menuStrings[key]) {
this.menuStrings[key] = text;
this.menuStrings[key] = text || this.menuStrings[key];
}

}
Expand Down

0 comments on commit 2ca4291

Please sign in to comment.