[-] Remove onNavigate event
This commit is contained in:
@@ -3,8 +3,7 @@
|
||||
<login v-if="showLogin" v-on:login:token="onLogin"></login>
|
||||
<navigation :courses="filteredCourses"
|
||||
:activeIndex="selectedTab"
|
||||
v-on:sign-out="signOut()"
|
||||
v-on:navigation:select="onNavigate">
|
||||
v-on:sign-out="signOut">
|
||||
</navigation>
|
||||
|
||||
<div id="app-content">
|
||||
|
||||
@@ -48,9 +48,6 @@ export default class Navigation extends Vue
|
||||
// Update active index
|
||||
this.activeIndex = index;
|
||||
|
||||
// Call custom event
|
||||
this.$emit('navigation:select', this.activeIndex);
|
||||
|
||||
// Debug output TODO: Remove this
|
||||
console.log(`onNavigate: Previous: ${this.activeIndex}, New: ${index}`);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user