From: Eduardo San Martin Morote Date: Mon, 23 Nov 2020 10:29:43 +0000 (+0100) Subject: refactor: remove unintented changes X-Git-Tag: v4.0.0-rc.6~11 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e339ad548543eddf46ce95bf116bfe582e0a4e99;p=thirdparty%2Fvuejs%2Frouter.git refactor: remove unintented changes --- diff --git a/src/matcher/index.ts b/src/matcher/index.ts index 95011b56..6f1eda95 100644 --- a/src/matcher/index.ts +++ b/src/matcher/index.ts @@ -162,10 +162,10 @@ export function createRouterMatcher( // other alias (if any) need to reference this record when adding children originalRecord = originalRecord || matcher - if (parent && isAliasRecord(originalRecord)) { - // TODO: remove them too - parent.children.push(originalRecord) - } + // TODO: add normalized records for more flexibility + // if (parent && isAliasRecord(originalRecord)) { + // parent.children.push(originalRecord) + // } insertMatcher(matcher) }