Fix insights select key

pull/9625/head
Benedikt Werner 2021-08-20 16:29:32 +02:00 committed by GitHub
parent e2226e5f60
commit 6022c09be7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -54,7 +54,7 @@ export default function (ctrl: Ctrl) {
'select.ms.dimension',
selectData(
v => ctrl.setDimension(v.value),
() => ctrl.vm.metric.key
() => ctrl.vm.dimension.key
),
ctrl.ui.dimensionCategs.map(optgroup(x => (x.key !== 'period' ? option(ctrl, x, 'dimension') : undefined)))
),