Compare commits
2 commits
c44ce1e514
...
f1ce71df8f
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
f1ce71df8f | ||
|
|
4cefcccdce |
1 changed files with 1 additions and 1 deletions
|
|
@ -63,7 +63,7 @@ export default class ProximoMainScreen extends FetchedDataSectionList {
|
||||||
data: []
|
data: []
|
||||||
});
|
});
|
||||||
for (let k = 0; k < articles.length; k++) {
|
for (let k = 0; k < articles.length; k++) {
|
||||||
if (articles[k]['type'].includes(types[i].id)) {
|
if (articles[k]['type'].includes(types[i].id) && parseInt(articles[k]['quantity']) > 0) {
|
||||||
finalData[i].data.push(articles[k]);
|
finalData[i].data.push(articles[k]);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue