diff --git a/src/plugins/notebook/components/notebook-embed.vue b/src/plugins/notebook/components/notebook-embed.vue index c34eba7407..d720aa5ed6 100644 --- a/src/plugins/notebook/components/notebook-embed.vue +++ b/src/plugins/notebook/components/notebook-embed.vue @@ -223,7 +223,7 @@ export default { cssClass: action.cssClass, name: action.name, perform: () => { - action.invoke(self.embed.objectPath); + action.invoke(JSON.parse(self.embed.objectPath)); } }); }); diff --git a/src/plugins/notebook/utils/notebook-entries.js b/src/plugins/notebook/utils/notebook-entries.js index 9acebfbb47..6b026e33ea 100644 --- a/src/plugins/notebook/utils/notebook-entries.js +++ b/src/plugins/notebook/utils/notebook-entries.js @@ -96,7 +96,7 @@ export const createNewEmbed = (snapshotMeta, snapshot = '') => { name, snapshot, type, - objectPath + objectPath: JSON.stringify(objectPath) }; }