fixing little issues
This commit is contained in:
parent
18abd0351a
commit
b047cb0e1f
6 changed files with 11 additions and 9 deletions
|
@ -32,6 +32,8 @@ const views = {
|
|||
}
|
||||
|
||||
const hasRequiredMeasurementsMethod = (design, gist) => {
|
||||
if (design.config.measurements.length && !gist.measurements) return false
|
||||
|
||||
for (const m of design.config.measurements || []) {
|
||||
if (!gist?.measurements?.[m]) return false
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue