()
| 810 | } |
| 811 | |
| 812 | const syncRole = () => { |
| 813 | const isMeasure = role.value === 'measure'; |
| 814 | aggregation.hidden = !isMeasure; |
| 815 | }; |
| 816 | role.addEventListener('change', syncRole); |
| 817 | syncRole(); |
| 818 | row.append(name, type, role, nullableLabel, aggregation, actions); |