chore(shared): Changes for recent core changes
This commit is contained in:
parent
f31a158398
commit
31a28d2faa
16 changed files with 56 additions and 58 deletions
|
@ -34,9 +34,9 @@ const views = {
|
|||
}
|
||||
|
||||
const hasRequiredMeasurementsMethod = (design, gist) => {
|
||||
if (design.config.measurements.length && !gist.measurements) return false
|
||||
if (design.patternConfig.measurements.length && !gist.measurements) return false
|
||||
|
||||
for (const m of design.config.measurements || []) {
|
||||
for (const m of design.patternConfig.measurements || []) {
|
||||
if (!gist.measurements[m]) return false
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue