Merge pull request #3177 from influxdata/bugfix/tickscript-name-not-id

bugfix/TICKscript name instead of ID
pull/3225/head
Alex Paxton 2018-04-17 11:10:35 -07:00 committed by GitHub
commit bba85d7daa
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -19,7 +19,7 @@ const TickscriptEditorControls = ({
{isNewTickscript ? (
<TickscriptID onChangeID={onChangeID} id={task.id} />
) : (
<TickscriptStaticID id={task.id} />
<TickscriptStaticID id={task.name ? task.name : task.id} />
)}
<div className="tickscript-controls--right">
<TickscriptType type={task.type} onChangeType={onChangeType} />