mirror of
https://github.com/nasa/openmct.git
synced 2025-06-15 21:58:13 +00:00
use objectPathJSON
This commit is contained in:
@ -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));
|
||||
}
|
||||
});
|
||||
});
|
||||
|
@ -96,7 +96,7 @@ export const createNewEmbed = (snapshotMeta, snapshot = '') => {
|
||||
name,
|
||||
snapshot,
|
||||
type,
|
||||
objectPath
|
||||
objectPath: JSON.stringify(objectPath)
|
||||
};
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user