Merge pull request #3107 from influxdata/fix/template-variable-saving
Fixes template variable editing not allowing savingpull/3110/head
commit
8615e57af4
|
@ -70,7 +70,7 @@ const TemplateVariableRow = ({
|
|||
<Dropdown
|
||||
items={TEMPLATE_TYPES}
|
||||
onChoose={onSelectType}
|
||||
onClick={onStartEdit}
|
||||
onClick={onStartEdit('tempVar')}
|
||||
selected={TEMPLATE_TYPES.find(t => t.type === selectedType).text}
|
||||
className="dropdown-140"
|
||||
/>
|
||||
|
@ -84,7 +84,7 @@ const TemplateVariableRow = ({
|
|||
selectedMeasurement={selectedMeasurement}
|
||||
selectedTagKey={selectedTagKey}
|
||||
onSelectTagKey={onSelectTagKey}
|
||||
onStartEdit={onStartEdit}
|
||||
onStartEdit={onStartEdit('tempVar')}
|
||||
onErrorThrown={onErrorThrown}
|
||||
/>
|
||||
<RowValues
|
||||
|
|
Loading…
Reference in New Issue