|
@@ -179,13 +179,13 @@ class NewArrivalContainer extends Component { |
|
@@ -179,13 +179,13 @@ class NewArrivalContainer extends Component { |
179
|
let I_INDEX = parseInt(index) + 1;
|
179
|
let I_INDEX = parseInt(index) + 1;
|
180
|
I_INDEX = I_INDEX.toString();
|
180
|
I_INDEX = I_INDEX.toString();
|
181
|
let F_INDEX = 1;
|
181
|
let F_INDEX = 1;
|
182
|
- if (this.props.newArrival.topPart.topList.size) {
|
182
|
+ if (this.props.newArrival.topPart.topList && this.props.newArrival.topPart.topList.size) {
|
183
|
F_INDEX ++;
|
183
|
F_INDEX ++;
|
184
|
}
|
184
|
}
|
185
|
- if (this.props.newArrival.topPart.brandList.size) {
|
185
|
+ if (this.props.newArrival.topPart.brandList && this.props.newArrival.topPart.brandList.size) {
|
186
|
F_INDEX ++;
|
186
|
F_INDEX ++;
|
187
|
}
|
187
|
}
|
188
|
- if (this.props.newArrival.topPart.featuredList.size) {
|
188
|
+ if (this.props.newArrival.topPart.featuredList && this.props.newArrival.topPart.featuredList.size) {
|
189
|
F_INDEX ++;
|
189
|
F_INDEX ++;
|
190
|
}
|
190
|
}
|
191
|
F_INDEX = F_INDEX.toString();
|
191
|
F_INDEX = F_INDEX.toString();
|
|
@@ -228,13 +228,13 @@ class NewArrivalContainer extends Component { |
|
@@ -228,13 +228,13 @@ class NewArrivalContainer extends Component { |
228
|
let I_INDEX = parseInt(index) + 1;
|
228
|
let I_INDEX = parseInt(index) + 1;
|
229
|
I_INDEX = I_INDEX.toString();
|
229
|
I_INDEX = I_INDEX.toString();
|
230
|
let F_INDEX = 1;
|
230
|
let F_INDEX = 1;
|
231
|
- if (this.props.newArrival.topPart.topList.size) {
|
231
|
+ if (this.props.newArrival.topPart.topList && this.props.newArrival.topPart.topList.size) {
|
232
|
F_INDEX ++;
|
232
|
F_INDEX ++;
|
233
|
}
|
233
|
}
|
234
|
- if (this.props.newArrival.topPart.brandList.size) {
|
234
|
+ if (this.props.newArrival.topPart.brandList && this.props.newArrival.topPart.brandList.size) {
|
235
|
F_INDEX ++;
|
235
|
F_INDEX ++;
|
236
|
}
|
236
|
}
|
237
|
- if (this.props.newArrival.topPart.featuredList.size) {
|
237
|
+ if (this.props.newArrival.topPart.featuredList && this.props.newArrival.topPart.featuredList.size) {
|
238
|
F_INDEX ++;
|
238
|
F_INDEX ++;
|
239
|
}
|
239
|
}
|
240
|
F_INDEX = F_INDEX.toString();
|
240
|
F_INDEX = F_INDEX.toString();
|
|
@@ -261,13 +261,13 @@ class NewArrivalContainer extends Component { |
|
@@ -261,13 +261,13 @@ class NewArrivalContainer extends Component { |
261
|
let I_INDEX = parseInt(index) + 1;
|
261
|
let I_INDEX = parseInt(index) + 1;
|
262
|
I_INDEX = I_INDEX.toString();
|
262
|
I_INDEX = I_INDEX.toString();
|
263
|
let F_INDEX = 1;
|
263
|
let F_INDEX = 1;
|
264
|
- if (this.props.newArrival.topPart.topList.size) {
|
264
|
+ if (this.props.newArrival.topPart.topList && this.props.newArrival.topPart.topList.size) {
|
265
|
F_INDEX ++;
|
265
|
F_INDEX ++;
|
266
|
}
|
266
|
}
|
267
|
- if (this.props.newArrival.topPart.brandList.size) {
|
267
|
+ if (this.props.newArrival.topPart.brandList && this.props.newArrival.topPart.brandList.size) {
|
268
|
F_INDEX ++;
|
268
|
F_INDEX ++;
|
269
|
}
|
269
|
}
|
270
|
- if (this.props.newArrival.topPart.featuredList.size) {
|
270
|
+ if (this.props.newArrival.topPart.featuredList && this.props.newArrival.topPart.featuredList.size) {
|
271
|
F_INDEX ++;
|
271
|
F_INDEX ++;
|
272
|
}
|
272
|
}
|
273
|
F_INDEX = F_INDEX.toString();
|
273
|
F_INDEX = F_INDEX.toString();
|
|
@@ -302,13 +302,13 @@ class NewArrivalContainer extends Component { |
|
@@ -302,13 +302,13 @@ class NewArrivalContainer extends Component { |
302
|
let I_INDEX = parseInt(index) + 1;
|
302
|
let I_INDEX = parseInt(index) + 1;
|
303
|
I_INDEX = I_INDEX + "";
|
303
|
I_INDEX = I_INDEX + "";
|
304
|
let F_INDEX = 1;
|
304
|
let F_INDEX = 1;
|
305
|
- if (this.props.newArrival.topPart.topList.size) {
|
305
|
+ if (this.props.newArrival.topPart.topList && this.props.newArrival.topPart.topList.size) {
|
306
|
F_INDEX ++;
|
306
|
F_INDEX ++;
|
307
|
}
|
307
|
}
|
308
|
- if (this.props.newArrival.topPart.brandList.size) {
|
308
|
+ if (this.props.newArrival.topPart.brandList && this.props.newArrival.topPart.brandList.size) {
|
309
|
F_INDEX ++;
|
309
|
F_INDEX ++;
|
310
|
}
|
310
|
}
|
311
|
- if (this.props.newArrival.topPart.featuredList.size) {
|
311
|
+ if (this.props.newArrival.topPart.featuredList && this.props.newArrival.topPart.featuredList.size) {
|
312
|
F_INDEX ++;
|
312
|
F_INDEX ++;
|
313
|
}
|
313
|
}
|
314
|
F_INDEX = F_INDEX.toString();
|
314
|
F_INDEX = F_INDEX.toString();
|
|
@@ -370,13 +370,13 @@ class NewArrivalContainer extends Component { |
|
@@ -370,13 +370,13 @@ class NewArrivalContainer extends Component { |
370
|
let I_INDEX = parseInt(rowId) + 1;
|
370
|
let I_INDEX = parseInt(rowId) + 1;
|
371
|
I_INDEX = I_INDEX.toString();
|
371
|
I_INDEX = I_INDEX.toString();
|
372
|
let F_INDEX = 1;
|
372
|
let F_INDEX = 1;
|
373
|
- if (this.props.newArrival.topPart.topList.size) {
|
373
|
+ if (this.props.newArrival.topPart.topList && this.props.newArrival.topPart.topList.size) {
|
374
|
F_INDEX ++;
|
374
|
F_INDEX ++;
|
375
|
}
|
375
|
}
|
376
|
- if (this.props.newArrival.topPart.brandList.size) {
|
376
|
+ if (this.props.newArrival.topPart.brandList && this.props.newArrival.topPart.brandList.size) {
|
377
|
F_INDEX ++;
|
377
|
F_INDEX ++;
|
378
|
}
|
378
|
}
|
379
|
- if (this.props.newArrival.topPart.featuredList.size) {
|
379
|
+ if (this.props.newArrival.topPart.featuredList && this.props.newArrival.topPart.featuredList.size) {
|
380
|
F_INDEX ++;
|
380
|
F_INDEX ++;
|
381
|
}
|
381
|
}
|
382
|
F_INDEX = F_INDEX.toString();
|
382
|
F_INDEX = F_INDEX.toString();
|