mirror of
https://github.com/nasa/openmct.git
synced 2024-12-20 13:43:09 +00:00
use objectPathJSON
This commit is contained in:
parent
64c5725687
commit
b00757150e
@ -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)
|
||||
};
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user