[+] Make updateIndex public

This commit is contained in:
Hykilpikonna
2019-10-20 21:38:20 -04:00
parent 90f888bc4b
commit 0a0288c2ee
+1 -1
View File
@@ -74,7 +74,7 @@ export default class Navigation extends Vue
* @param newIndex New index * @param newIndex New index
* @param history Record in history or not (Default true) * @param history Record in history or not (Default true)
*/ */
private updateIndex(newIndex: string, history?: boolean) public updateIndex(newIndex: string, history?: boolean)
{ {
// Call custom event // Call custom event
this.$emit('update:activeIndex', newIndex); this.$emit('update:activeIndex', newIndex);