()
| 177 | } |
| 178 | |
| 179 | render () { |
| 180 | let { fetchStatus, selectAble, readOnly, open, icons } = this.props; |
| 181 | icons = icons || defaultIcons; |
| 182 | |
| 183 | // if get remote data pending or failure, render message |
| 184 | if (fetchStatus !== FETCH_SUCCESS) { |
| 185 | return ( |
| 186 | <span className={`fetch-${fetchStatus}`}> |
| 187 | {getLang('fetch.status')[fetchStatus]} |
| 188 | </span> |
| 189 | ); |
| 190 | } |
| 191 | |
| 192 | let value = this.state.value; |
| 193 |
no outgoing calls
no test coverage detected
searching dependent graphs…