We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 63ca390 commit 677bf36Copy full SHA for 677bf36
vue/src/App.vue
@@ -23,7 +23,7 @@ export default {
23
return {};
24
},
25
26
- mounted() {
+ created() {
27
this.setInitialSnapshotnav();
28
29
@@ -40,12 +40,12 @@ export default {
40
setInitialSnapshotnav() {
41
if (this.$route.params.hash) {
42
if (['lg', 'xl'].includes(this.$vuetify.breakpoint.name)) {
43
- this.$store.commit('setSnapshotnav', false);
44
- } else {
45
this.$store.commit('setSnapshotnav', true);
+ } else {
+ this.$store.commit('setSnapshotnav', false);
46
}
47
} else {
48
+ this.$store.commit('setSnapshotnav', true);
49
50
51
0 commit comments