Merge pull request #3107 from influxdata/fix/template-variable-saving

Fixes template variable editing not allowing saving
pull/3110/head
Brandon Farmer 2018-04-02 12:57:06 -07:00 committed by GitHub
commit 8615e57af4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -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