Ver Fonte

Fixed issue

vbea há 2 anos atrás
pai
commit
e750c58e2d
1 ficheiros alterados com 1 adições e 1 exclusões
  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