@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 +10 -6
- package/dist/index.js.map +1 -1
- package/dist/index.modern.js +10 -6
- package/dist/index.modern.js.map +1 -1
- package/package.json +1 -1
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
|
-
|
|
412
|
-
|
|
413
|
-
|
|
414
|
-
|
|
415
|
-
|
|
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,
|