Fix ESLint

This commit is contained in:
Mark McDowall 2021-05-19 15:06:06 -07:00
parent 2ad4e21aad
commit c3837c9f7b
1 changed files with 4 additions and 2 deletions

View File

@ -197,10 +197,11 @@ class QueuedTaskRow extends Component {
{commandName} {commandName}
</span> </span>
{ {
clientUserAgent && clientUserAgent ?
<span className={styles.userAgent} title="User-Agent provided by the app that called the API"> <span className={styles.userAgent} title="User-Agent provided by the app that called the API">
from: {clientUserAgent} from: {clientUserAgent}
</span> </span> :
null
} }
</TableRowCell> </TableRowCell>
@ -266,6 +267,7 @@ QueuedTaskRow.propTypes = {
status: PropTypes.string.isRequired, status: PropTypes.string.isRequired,
duration: PropTypes.string, duration: PropTypes.string,
message: PropTypes.string, message: PropTypes.string,
clientUserAgent: PropTypes.string,
showRelativeDates: PropTypes.bool.isRequired, showRelativeDates: PropTypes.bool.isRequired,
shortDateFormat: PropTypes.string.isRequired, shortDateFormat: PropTypes.string.isRequired,
longDateFormat: PropTypes.string.isRequired, longDateFormat: PropTypes.string.isRequired,