Skip to content

Commit

Permalink
used getEditPath logic in getFullPath
Browse files Browse the repository at this point in the history
  • Loading branch information
ThomThomson committed Sep 14, 2020
1 parent fba4ec4 commit 4bf6415
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion x-pack/plugins/lens/common/constants.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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)}`;
}

0 comments on commit 4bf6415

Please sign in to comment.