[-] Remove onNavigate event

This commit is contained in:
Hykilpikonna
2019-10-14 16:42:38 -04:00
parent cdaa2679d1
commit 563bf06b8e
2 changed files with 1 additions and 5 deletions
+1 -2
View File
@@ -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">
-3
View File
@@ -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}`);