From 4bf64158a4cea98ba27ddccb2feb1a8f973f68d7 Mon Sep 17 00:00:00 2001 From: Devon A Thomson Date: Mon, 14 Sep 2020 12:14:26 -0400 Subject: [PATCH] used getEditPath logic in getFullPath --- x-pack/plugins/lens/common/constants.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/x-pack/plugins/lens/common/constants.ts b/x-pack/plugins/lens/common/constants.ts index 80d433873d2a0..ea2331a577743 100644 --- a/x-pack/plugins/lens/common/constants.ts +++ b/x-pack/plugins/lens/common/constants.ts @@ -18,5 +18,5 @@ export function getEditPath(id: string) { } export function getFullPath(id: string) { - return `/app/${PLUGIN_ID}#/edit/${encodeURIComponent(id)}`; + return `/app/${PLUGIN_ID}${getEditPath(id)}`; }