Applying tiny fix from 72532 to main branch (#72533)

This commit is contained in:
Devon Thomson 2020-07-21 09:56:13 -04:00 committed by GitHub
parent 2fc7112ec2
commit 9facf416f5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -102,7 +102,7 @@ export class EmbeddableFactory implements EmbeddableFactoryDefinition {
{
savedVis,
editPath: getEditPath(savedObjectId),
editUrl: coreHttp.basePath.prepend(`app/lens${getEditPath(savedObjectId)}`),
editUrl: coreHttp.basePath.prepend(`/app/lens${getEditPath(savedObjectId)}`),
editable: await this.isEditable(),
indexPatterns,
},