Skip to content

Commit

Permalink
runfix: Avoid mutliple emojis with the same key
Browse files Browse the repository at this point in the history
  • Loading branch information
atomrc committed Oct 9, 2023
1 parent 4d1f59b commit 5103f1c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ export class EmojiOption extends MenuOption {
keywords?: string[];
},
) {
super(title);
super(title + options.keywords?.join('_'));
this.title = title.replace(/_/g, ' ');
this.emoji = emoji;
this.keywords = options.keywords || [];
Expand Down

0 comments on commit 5103f1c

Please sign in to comment.