# 0.12.2
This commit is contained in:
@ -421,7 +421,7 @@ const TaskEditor = ({ task, tasks, columnName, columnNames, customFields, dateFo
|
||||
<FieldArray name="relations">
|
||||
{({ insert, remove, push }) => (
|
||||
<div>
|
||||
{values.relations.length > 0 && values.relations.map((relation, index) => (
|
||||
{false && values.relations.length > 0 && values.relations.map((relation, index) => (
|
||||
<div className="kanbn-task-editor-row kanbn-task-editor-row-relation" key={index}>
|
||||
<div className="kanbn-task-editor-column kanbn-task-editor-field-relation-type">
|
||||
<Field
|
||||
@ -465,7 +465,7 @@ const TaskEditor = ({ task, tasks, columnName, columnNames, customFields, dateFo
|
||||
<button
|
||||
type="button"
|
||||
className="kanbn-task-editor-button kanbn-task-editor-button-add"
|
||||
title="Add relation"
|
||||
title={`Add relation [${values.relations.length} relation(s)]`}
|
||||
onClick={() => push({ type: '', task: '' })}
|
||||
>
|
||||
<i className="codicon codicon-link"></i>Add relation
|
||||
|
||||
Reference in New Issue
Block a user