mirror of
https://github.com/TECHNOFAB11/ergogen.git
synced 2025-12-12 16:10:04 +01:00
Column definition can be empty now
This commit is contained in:
parent
c218426604
commit
0e4d2206a7
1 changed files with 3 additions and 1 deletions
|
|
@ -38,10 +38,12 @@ const render_zone = exports._render_zone = (zone_name, zone, anchor, global_key)
|
|||
|
||||
// column layout
|
||||
|
||||
for (const [col_name, col] of Object.entries(cols)) {
|
||||
for (let [col_name, col] of Object.entries(cols)) {
|
||||
|
||||
// column-level sanitization
|
||||
|
||||
col = col || {}
|
||||
|
||||
a.detect_unexpected(
|
||||
col,
|
||||
`points.zones.${zone_name}.columns.${col_name}`,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue