src/templates/zshare/modalform/datatable/index.jsx
@@ -431,6 +431,8 @@ } render() { const { display, fields } = this.props const components = { body: { row: DragableBodyRow, @@ -456,9 +458,9 @@ }) let addable = false if (this.props.display === 'picture' || this.props.display === 'color') { if (display === 'picture' || display === 'color') { addable = true } else if (this.props.fields && this.props.fields.length > 0) { } else if (fields && fields.length > 0) { addable = true }