Hide articles with empty stock
このコミットが含まれているのは:
コミット
4cefcccdce
1個のファイルの変更、1行の追加、1行の削除
|
|
@ -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]);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
読み込み中…
新しいイシューから参照