@itilite/iui-user-management 0.1.0 → 0.1.1

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.
package/dist/index.js CHANGED
@@ -329,7 +329,7 @@ var commonLoadOptions = function commonLoadOptions(search, loadedOptions, _ref)
329
329
  };
330
330
  });
331
331
 
332
- if (NAoptionConfig.applyFor.includes(tabelName)) {
332
+ if (page === 1 && NAoptionConfig.applyFor.includes(tabelName)) {
333
333
  mappedValue.unshift(NAoptionConfig.option);
334
334
  }
335
335
 
@@ -408,11 +408,15 @@ var approversOptions = function approversOptions(search, loadedOptions, _ref4) {
408
408
  label: item.approver
409
409
  };
410
410
  });
411
- var placeholderLbl = {
412
- value: '',
413
- label: placeholder
414
- };
415
- mappedValue.unshift(placeholderLbl);
411
+
412
+ if (page === 1) {
413
+ var placeholderLbl = {
414
+ value: '',
415
+ label: placeholder
416
+ };
417
+ mappedValue.unshift(placeholderLbl);
418
+ }
419
+
416
420
  return {
417
421
  options: mappedValue,
418
422
  hasMore: !!response.next,