2
0
mirror of https://github.com/tenrok/vue-meta.git synced 2026-06-18 01:40:34 +03:00

test: add nav-guard tests for refresOnce false

This commit is contained in:
pimlie
2019-03-11 17:17:13 +01:00
committed by Alexander Lichter
parent d717dbf4e1
commit 7cf4efd290
2 changed files with 35 additions and 1 deletions
+1
View File
@@ -3,6 +3,7 @@ import { isFunction } from '../utils/is-type'
export function addNavGuards(vm) {
// return when nav guards already added or no router exists
if (vm.$root._vueMeta.navGuards || !vm.$root.$router) {
/* istanbul ignore next */
return
}