()
| 781 | } |
| 782 | |
| 783 | const syncRole = () => { |
| 784 | const isMeasure = role.value === 'measure'; |
| 785 | aggregation.hidden = !isMeasure; |
| 786 | }; |
| 787 | role.addEventListener('change', syncRole); |
| 788 | syncRole(); |
| 789 | row.append(name, type, role, nullableLabel, aggregation, actions); |