Routing: Remove unnecessary router import
This commit is contained in:
parent
1cdba98741
commit
539500f370
|
@ -1,7 +1,6 @@
|
||||||
import Vue from 'vue'
|
import Vue from 'vue'
|
||||||
import FtFlexBox from '../ft-flex-box/ft-flex-box.vue'
|
import FtFlexBox from '../ft-flex-box/ft-flex-box.vue'
|
||||||
import SideNavMoreOptions from '../side-nav-more-options/side-nav-more-options.vue'
|
import SideNavMoreOptions from '../side-nav-more-options/side-nav-more-options.vue'
|
||||||
import router from '../../router/index.js'
|
|
||||||
|
|
||||||
export default Vue.extend({
|
export default Vue.extend({
|
||||||
name: 'SideNav',
|
name: 'SideNav',
|
||||||
|
@ -60,7 +59,7 @@ export default Vue.extend({
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
navigate: function (route) {
|
navigate: function (route) {
|
||||||
router.push('/' + route)
|
this.$router.push('/' + route)
|
||||||
},
|
},
|
||||||
|
|
||||||
goToChannel: function (id) {
|
goToChannel: function (id) {
|
||||||
|
|
Loading…
Reference in New Issue