mirror of
https://github.com/Azure/cosmos-explorer.git
synced 2025-02-23 12:37:25 +00:00
added todo comment and removed console.log
This commit is contained in:
parent
88d71d7070
commit
8cf160d818
@ -24,7 +24,6 @@ export const InfoBar = (metadataKey: string, info: Info) => {
|
||||
} else {
|
||||
context.info = info
|
||||
}
|
||||
console.log("class context:" + JSON.stringify(context))
|
||||
Reflect.defineMetadata(metadataKey, context, target)
|
||||
};
|
||||
};
|
||||
@ -45,7 +44,6 @@ export const Property = (metadataKey: string, parentProperty?: string): Property
|
||||
} else {
|
||||
context.children[property] = {id: property, input: {}}
|
||||
}
|
||||
console.log("props context:" + JSON.stringify(context))
|
||||
Reflect.defineMetadata(metadataKey, context, target)
|
||||
};
|
||||
};
|
||||
@ -57,7 +55,7 @@ export const modifyInputTypes = (metadataKey: string, fieldName: string, value:
|
||||
throw new Error("Incorrect order")
|
||||
}
|
||||
context.children[property].input[fieldName] = value
|
||||
//context = modifyType(property)
|
||||
//TODO: recurse to find correct child
|
||||
console.log("props context:" + JSON.stringify(context))
|
||||
Reflect.defineMetadata(metadataKey, context, target)
|
||||
};
|
||||
|
Loading…
x
Reference in New Issue
Block a user