mirror of
https://github.com/elk-zone/elk.git
synced 2024-11-25 02:36:21 +03:00
fix: navigation commands name
This commit is contained in:
parent
447ed6d941
commit
17a15e2917
1 changed files with 1 additions and 1 deletions
|
@ -15,7 +15,7 @@ const router = useRouter()
|
|||
useCommand({
|
||||
scope: 'Navigation',
|
||||
|
||||
name: () => props.text ?? typeof props.to === 'string' ? props.to as string : props.to.name,
|
||||
name: () => props.text ?? (typeof props.to === 'string' ? props.to as string : props.to.name),
|
||||
icon: () => props.icon,
|
||||
|
||||
onActivate() {
|
||||
|
|
Loading…
Reference in a new issue