فهرست منبع

79903 add null check

Yohei-Shiina 4 سال پیش
والد
کامیت
600353c36f
1فایلهای تغییر یافته به همراه1 افزوده شده و 1 حذف شده
  1. 1 1
      packages/app/src/components/SearchPage/SearchResultList.jsx

+ 1 - 1
packages/app/src/components/SearchPage/SearchResultList.jsx

@@ -20,7 +20,7 @@ class SearchResultList extends React.Component {
             />
           );
         })}
-        {this.props.searchResultCount > 0 && (
+        {this.props.searchResultCount != null && this.props.searchResultCount > 0 && (
           <div className="my-4 mx-auto">
             <PaginationWrapper
               activePage={this.props.activePage || 1}