소스 검색

Fixed issue

vbea 2 년 전
부모
커밋
e750c58e2d
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      Strides-APP/app/pages/vouchers/ListVoucher.js

+ 1 - 1
Strides-APP/app/pages/vouchers/ListVoucher.js

@@ -157,7 +157,7 @@ export default class ListVoucher extends Component {
   }
 
   bottomView = () => {
-    if (!this.state.hasMore) {
+    if (this.state.dataList.length > 0 && !this.state.hasMore) {
       return (<Text style={styles.noMore}>{$t('voucher.noMore')}</Text>)
     } else {
       return null