@awell-health/ui-library 0.1.81 → 0.1.82
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 +4 -4
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -41108,7 +41108,7 @@ Check the top-level render call using <` + t + ">.");
|
|
|
41108
41108
|
var _c = React.useState(null),error = _c[0],setError = _c[1];
|
|
41109
41109
|
var _d = React.useState(''),searchValue = _d[0],setSearchValue = _d[1];
|
|
41110
41110
|
var fetchICDCodes = function (terms) {return __awaiter(void 0, void 0, void 0, function () {
|
|
41111
|
-
var response, _a,
|
|
41111
|
+
var response, _a, displayStrings, icdOptions;
|
|
41112
41112
|
return __generator(this, function (_b) {
|
|
41113
41113
|
switch (_b.label) {
|
|
41114
41114
|
case 0:
|
|
@@ -41127,11 +41127,11 @@ Check the top-level render call using <` + t + ">.");
|
|
|
41127
41127
|
|
|
41128
41128
|
case 2:
|
|
41129
41129
|
response = _b.sent();
|
|
41130
|
-
_a = response.data,
|
|
41131
|
-
icdOptions = displayStrings.map(function (_a
|
|
41130
|
+
_a = response.data, displayStrings = _a[3];
|
|
41131
|
+
icdOptions = displayStrings.map(function (_a) {
|
|
41132
41132
|
var code = _a[0],name = _a[1];
|
|
41133
41133
|
return {
|
|
41134
|
-
value:
|
|
41134
|
+
value: "".concat(code, "|").concat(name),
|
|
41135
41135
|
label: "".concat(code, " - ").concat(name) };
|
|
41136
41136
|
|
|
41137
41137
|
});
|