mirror of
https://github.com/nasa/openmct.git
synced 2024-12-30 01:48:51 +00:00
use objectPathJSON
This commit is contained in:
parent
64c5725687
commit
b00757150e
@ -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));
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
@ -96,7 +96,7 @@ export const createNewEmbed = (snapshotMeta, snapshot = '') => {
|
|||||||
name,
|
name,
|
||||||
snapshot,
|
snapshot,
|
||||||
type,
|
type,
|
||||||
objectPath
|
objectPath: JSON.stringify(objectPath)
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user