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