Skip to content

Commit 0ac528a

Browse files
committed
feat: add direct navigation to plugins from quick access panel
1 parent 3632ff9 commit 0ac528a

File tree

1 file changed

+13
-1
lines changed

1 file changed

+13
-1
lines changed

app/components/SlidingPanel/components/AppControlPanel/components/QuickAccessView.vue

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@
1919
col="1"
2020
icon="fa-toolbox"
2121
name="Plugins"
22+
@tap="openPlugins"
2223
/>
2324
<QuickAccessBigButton
2425
col="2"
@@ -54,11 +55,13 @@
5455
import { mapState } from 'vuex';
5556
import QuickAccessBigButton from './QuickAccessBigButton.vue';
5657
import SettingsView from '@/components/Settings/SettingsView';
58+
import PluginsView from '@/components/Settings/PluginsView';
5759
5860
export default {
5961
data() {
6062
return {
61-
settingsScreen: SettingsView
63+
settingsScreen: SettingsView,
64+
pluginsScreen: PluginsView,
6265
}
6366
},
6467
@@ -95,6 +98,15 @@
9598
},
9699
toggleDebugMode() {
97100
this.$store.dispatch('ui/toggleDebugMode');
101+
},
102+
openPlugins() {
103+
this.$navigateTo(this.pluginsScreen, {
104+
animated: true,
105+
transition: {
106+
name: 'slideLeft',
107+
duration: 300
108+
}
109+
});
98110
}
99111
}
100112
};

0 commit comments

Comments
 (0)