Remove log and add comments
This commit is contained in:
parent
8bc0aec2c1
commit
b7dbb2a76c
|
@ -254,6 +254,7 @@ export const getComponentContexts = (
|
|||
delete map[componentId]
|
||||
}
|
||||
|
||||
// Only return components which provide at least 1 matching context
|
||||
return Object.values(map).filter(x => x.contexts.length > 0)
|
||||
}
|
||||
|
||||
|
|
|
@ -25,8 +25,6 @@ export const getDatasourceLikeProviders = ({ asset, componentId, nested }) => {
|
|||
}
|
||||
)
|
||||
|
||||
console.log(formComponentContexts)
|
||||
|
||||
// Check for duplicate contexts by the same component. In this case, attempt
|
||||
// to label contexts with their suffixes
|
||||
schemaComponentContexts.forEach(schemaContext => {
|
||||
|
|
Loading…
Reference in New Issue