Render TICKscript name instead of ID
But render ID if there is no namepull/10616/head
parent
e3e51ac4c7
commit
1f435843bc
|
@ -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} />
|
||||
|
|
Loading…
Reference in New Issue