fall back on given label for comands
This commit is contained in:
parent
881608f7de
commit
8c4b481082
1 changed files with 1 additions and 1 deletions
|
@ -128,7 +128,7 @@ const Handle: Component<{ command: CommandType }> = (props) => {
|
||||||
const { t } = useI18n();
|
const { t } = useI18n();
|
||||||
|
|
||||||
return <>
|
return <>
|
||||||
{String(t(props.command.label))}
|
{String(t(props.command.label) ?? props.command.label)}
|
||||||
|
|
||||||
<Show when={props.command.shortcut}>{
|
<Show when={props.command.shortcut}>{
|
||||||
shortcut => {
|
shortcut => {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue