X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/3fd7d22747e43fd810c1eace852ae5b184b06bde..5e8a5a1c42226e0dd3aceaf4825d870a3786c5d1:/src/views/favorite-panel/favorite-panel.tsx diff --git a/src/views/favorite-panel/favorite-panel.tsx b/src/views/favorite-panel/favorite-panel.tsx index 73849562da..4ba967c052 100644 --- a/src/views/favorite-panel/favorite-panel.tsx +++ b/src/views/favorite-panel/favorite-panel.tsx @@ -164,23 +164,18 @@ export const FavoritePanel = withStyles(styles)( connect(mapStateToProps, mapDispatchToProps)( class extends React.Component { render() { - return this.hasAnyFavorites() - ? } /> - : ; - } - - hasAnyFavorites = () => { - return Object - .keys(this.props.favorites) - .find(uuid => this.props.favorites[uuid]); + return + } />; } } )