mirror of
https://github.com/elk-zone/elk.git
synced 2024-12-18 00:51:47 +03:00
fix(ui): prevent from navigating to search page when opening command panel (#2719)
This commit is contained in:
parent
f6f50a582e
commit
42aeb8fa35
1 changed files with 1 additions and 1 deletions
|
@ -49,7 +49,7 @@ export default defineNuxtPlugin(({ $scrollToTop }) => {
|
||||||
whenever(logicAnd(isAuthenticated, notUsingInput, useMagicSequence(['g', 'i'])), () => navigateTo('/lists'))
|
whenever(logicAnd(isAuthenticated, notUsingInput, useMagicSequence(['g', 'i'])), () => navigateTo('/lists'))
|
||||||
whenever(logicAnd(notUsingInput, useMagicSequence(['g', 's'])), () => navigateTo('/settings'))
|
whenever(logicAnd(notUsingInput, useMagicSequence(['g', 's'])), () => navigateTo('/settings'))
|
||||||
whenever(logicAnd(isAuthenticated, notUsingInput, useMagicSequence(['g', 'p'])), () => navigateTo(`/${instanceDomain}/@${currentUser.value?.account.username}`))
|
whenever(logicAnd(isAuthenticated, notUsingInput, useMagicSequence(['g', 'p'])), () => navigateTo(`/${instanceDomain}/@${currentUser.value?.account.username}`))
|
||||||
whenever(logicAnd(notUsingInput, keys['/']), () => navigateTo('/search'))
|
whenever(logicAnd(notUsingInput, computed(() => keys.current.size === 1), keys['/']), () => navigateTo('/search'))
|
||||||
|
|
||||||
const toggleFavouriteActiveStatus = () => {
|
const toggleFavouriteActiveStatus = () => {
|
||||||
// TODO: find a better solution than clicking buttons...
|
// TODO: find a better solution than clicking buttons...
|
||||||
|
|
Loading…
Reference in a new issue