vbea před 2 roky
rodič
revize
e750c58e2d
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  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