@pisell/pisellos 2.1.33 → 2.1.34
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -144,7 +144,7 @@ export var ProductList = /*#__PURE__*/function (_BaseModule) {
|
|
|
144
144
|
});
|
|
145
145
|
if (sortedList.length) {
|
|
146
146
|
sortedList.forEach(function (n) {
|
|
147
|
-
if (n.is_eject !== 1 && n.
|
|
147
|
+
if (n.is_eject !== 1 && n['schedule.ids'] && n['schedule.ids'].length) {
|
|
148
148
|
n.is_eject = 1;
|
|
149
149
|
}
|
|
150
150
|
});
|
|
@@ -106,7 +106,7 @@ var ProductList = class extends import_BaseModule.BaseModule {
|
|
|
106
106
|
const sortedList = (productsData.data.list || []).slice().sort((a, b) => Number(b.sort) - Number(a.sort));
|
|
107
107
|
if (sortedList.length) {
|
|
108
108
|
sortedList.forEach((n) => {
|
|
109
|
-
if (n.is_eject !== 1 && n.
|
|
109
|
+
if (n.is_eject !== 1 && n["schedule.ids"] && n["schedule.ids"].length) {
|
|
110
110
|
n.is_eject = 1;
|
|
111
111
|
}
|
|
112
112
|
});
|