[O] Move updateIndex logging to a better place
This commit is contained in:
@@ -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}`;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user