fix: switching to view type now
This commit is contained in:
parent
7c43b7385d
commit
060a573fe9
@ -75,7 +75,7 @@ export const KEYBOARD_SHORTCUTS : ShortcutGroup[] = [
|
|||||||
available: (route) => (route.name as string)?.startsWith('project.'),
|
available: (route) => (route.name as string)?.startsWith('project.'),
|
||||||
shortcuts: [
|
shortcuts: [
|
||||||
{
|
{
|
||||||
title: 'keyboardShortcuts.project.switchToProjectView',
|
title: 'keyboardShortcuts.project.switchToListView',
|
||||||
keys: ['g', 'l'],
|
keys: ['g', 'l'],
|
||||||
combination: 'then',
|
combination: 'then',
|
||||||
},
|
},
|
||||||
|
@ -7,7 +7,7 @@
|
|||||||
<div class="switch-view">
|
<div class="switch-view">
|
||||||
<BaseButton
|
<BaseButton
|
||||||
v-shortcut="'g l'"
|
v-shortcut="'g l'"
|
||||||
:title="$t('keyboardShortcuts.project.switchToProjectView')"
|
:title="$t('keyboardShortcuts.project.switchToListView')"
|
||||||
class="switch-view-button"
|
class="switch-view-button"
|
||||||
:class="{'is-active': viewName === 'project'}"
|
:class="{'is-active': viewName === 'project'}"
|
||||||
:to="{ name: 'project.list', params: { projectId } }"
|
:to="{ name: 'project.list', params: { projectId } }"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user