Skip to content

Commit

Permalink
client: Fix shortcuts section crashing when no translations
Browse files Browse the repository at this point in the history
  • Loading branch information
eliandoran committed Sep 13, 2024
1 parent 28b8e59 commit 73cd54e
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/public/app/widgets/type_widgets/options/shortcuts.js
Original file line number Diff line number Diff line change
Expand Up @@ -80,8 +80,7 @@ export default class KeyboardShortcutsOptions extends OptionsWidget {
.attr("style","background-color: var(--accented-background-color); font-weight: bold;")
.text(action.separator)
)
}
else {
} else if (action.defaultShortcuts) {
$tr.append($("<td>").text(action.actionName))
.append($("<td>").append(
$(`<input type="text" class="form-control">`)
Expand Down

0 comments on commit 73cd54e

Please sign in to comment.