diff --git a/frontend/src/pages/my-libs/my-libs.js b/frontend/src/pages/my-libs/my-libs.js index 47d6e4eed3..cfc153b52e 100644 --- a/frontend/src/pages/my-libs/my-libs.js +++ b/frontend/src/pages/my-libs/my-libs.js @@ -152,9 +152,9 @@ class MyLibraries extends Component {
{this.state.isLoading && } - {!this.state.isLoading && this.state.errorMsg &&

{this.state.errorMsg}

} - {!this.state.isLoading && this.state.repoList.length === 0 && this.emptyMessage} - {!this.state.isLoading && this.state.repoList.length > 0 && + {!this.state.isLoading && this.state.errorMsg &&

{this.state.errorMsg}

} + {!this.state.isLoading && !this.state.errorMsg && this.state.repoList.length === 0 && this.emptyMessage} + {!this.state.isLoading && !this.state.errorMsg && this.state.repoList.length > 0 &&