[O] Move updateIndex logging to a better place

This commit is contained in:
Hykilpikonna
2019-10-20 21:42:44 -04:00
parent 067c599cb1
commit 14849f4211
+3 -3
View File
@@ -63,9 +63,6 @@ export default class Navigation extends Vue
{
// Update active index
this.updateIndex(index);
// Debug output TODO: Remove this
console.log(`onNavigate: Previous: ${this.activeIndex}, New: ${index}`);
}
/**
@@ -82,6 +79,9 @@ export default class Navigation extends Vue
// Record or not
if (history != null && !history) return;
// Debug output TODO: Remove this
console.log(`onNavigate: Previous: ${this.activeIndex}, New: ${newIndex}`);
// Check url
let url = `/${newIndex}`;