[+] Update initial index

This commit is contained in:
Hykilpikonna
2019-10-14 18:26:26 -04:00
parent e7d5e766e3
commit 0e98cffc64
+3
View File
@@ -24,6 +24,9 @@ export default class Navigation extends Vue
if (url == '') url = '/overall';
window.history.replaceState({lastTab: url.substring(1)}, '', url);
// Update initial index
this.updateIndex(url.substring(1));
// Create history state listener
window.onpopstate = e =>
{