liucf 5 лет назад
Родитель
Сommit
7d1d3fc16f
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      src/containers/MainSuit.js

+ 1 - 1
src/containers/MainSuit.js

@@ -93,7 +93,7 @@ function mapDispatchToProps(dispatch) {
             for(let j in items){
               tempTotal += items[j].name ;
             }
-            if((tempTotal.length+ tempTotal.length-1) >= config.limited){
+            if((tempTotal.length+ items.length-1) >= config.limited){
               Notify.info(config.limitText);
               return ;
             }