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