()
| 73 | } |
| 74 | |
| 75 | renderAddUI() { |
| 76 | if (!this.props.allowAdd) { |
| 77 | return null; |
| 78 | } |
| 79 | if (this.props.types && this.props.types.size > 0) { |
| 80 | return this.renderTypesDropdown(this.props.types); |
| 81 | } else { |
| 82 | return this.renderAddButton(); |
| 83 | } |
| 84 | } |
| 85 | |
| 86 | renderTypesDropdown(types) { |
| 87 | return ( |
nothing calls this directly
no outgoing calls
no test coverage detected