use objectPathJSON

This commit is contained in:
Deep Tailor 2020-04-01 09:58:30 -07:00
parent 64c5725687
commit b00757150e
2 changed files with 2 additions and 2 deletions

View File

@ -223,7 +223,7 @@ export default {
cssClass: action.cssClass, cssClass: action.cssClass,
name: action.name, name: action.name,
perform: () => { perform: () => {
action.invoke(self.embed.objectPath); action.invoke(JSON.parse(self.embed.objectPath));
} }
}); });
}); });

View File

@ -96,7 +96,7 @@ export const createNewEmbed = (snapshotMeta, snapshot = '') => {
name, name,
snapshot, snapshot,
type, type,
objectPath objectPath: JSON.stringify(objectPath)
}; };
} }