fix: change getAsset to not return a promise (#3232)
* fix: change getAsset to not return a promise * fix: update markdown widget per getAsset changes * test: fix editor component image test * docs: update getAsset docs
This commit is contained in:
@ -114,7 +114,7 @@ export default class RelationControl extends React.Component {
|
||||
};
|
||||
|
||||
parseNestedFields = (targetObject, field) => {
|
||||
let nestedField = field.split('.');
|
||||
const nestedField = field.split('.');
|
||||
let f = targetObject;
|
||||
for (let i = 0; i < nestedField.length; i++) {
|
||||
f = f[nestedField[i]];
|
||||
|
Reference in New Issue
Block a user