diff --git a/src/components/views/elements/EditableItemList.js b/src/components/views/elements/EditableItemList.js index 34e53906a2..3537d8fad0 100644 --- a/src/components/views/elements/EditableItemList.js +++ b/src/components/views/elements/EditableItemList.js @@ -118,15 +118,23 @@ export default class EditableItemList extends React.Component { }; _renderNewItemField() { + let addButton; + console.log(this.props.newItem); + if (this.props.newItem) { + addButton = ( + + {_t("Add")} + + ); + } + return (
- - {_t("Add")} - + { addButton } ); }