From 6af8410698e83fcd58a87b118e53651ec3e2f232 Mon Sep 17 00:00:00 2001 From: Hykilpikonna Date: Sun, 20 Oct 2019 21:32:30 -0400 Subject: [PATCH] [F] Fix logic mistake --- src/components/navigation/navigation.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/navigation/navigation.ts b/src/components/navigation/navigation.ts index 952aff6..9897e17 100644 --- a/src/components/navigation/navigation.ts +++ b/src/components/navigation/navigation.ts @@ -74,7 +74,7 @@ export default class Navigation extends Vue this.$emit('update:activeIndex', newIndex); // Record or not - if (history == null || !history) return; + if (history != null && !history) return; // Check url let url = `/${newIndex}`;