Merge pull request #3921 from influxdata/fix/tempVars-visitor-names
Make template variable names visible to visitorspull/10616/head
commit
ca9f0746ba
|
@ -60,16 +60,18 @@ class TemplateControl extends PureComponent<Props, State> {
|
|||
) : (
|
||||
<TemplateDropdown template={template} onPickValue={onPickValue} />
|
||||
)}
|
||||
<Authorized requiredRole={EDITOR_ROLE}>
|
||||
<label className="template-control--label">
|
||||
{template.tempVar}
|
||||
|
||||
<label className="template-control--label">
|
||||
{template.tempVar}
|
||||
<Authorized requiredRole={EDITOR_ROLE}>
|
||||
<span
|
||||
className="icon cog-thick"
|
||||
onClick={this.handleShowSettings}
|
||||
data-test="edit"
|
||||
/>
|
||||
</label>
|
||||
</Authorized>
|
||||
</Authorized>
|
||||
</label>
|
||||
|
||||
<OverlayTechnology visible={isEditing}>
|
||||
<TemplateVariableEditor
|
||||
template={template}
|
||||
|
|
Loading…
Reference in New Issue