From 48994e88e1f5a852b89e0e9052fe58880abcb484 Mon Sep 17 00:00:00 2001 From: Justin Schroeder Date: Sat, 2 May 2020 10:31:51 -0400 Subject: [PATCH] Update src/Formulate.js Co-authored-by: Andrew Boyd --- src/Formulate.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Formulate.js b/src/Formulate.js index de54965..23db482 100644 --- a/src/Formulate.js +++ b/src/Formulate.js @@ -82,7 +82,7 @@ class Formulate { * implementation is open to community review. */ nextId (vm) { - const path = vm.$route && vm.$route.path && vm.$route.path || false + const path = vm.$route && vm.$route.path || false const pathPrefix = path ? vm.$route.path.replace(/[\/\\.\s]/g, '-') : 'global'; if (!Object.prototype.hasOwnProperty.call(this.idRegistry, pathPrefix)) { this.idRegistry[pathPrefix] = 0;