nectiasw 0.0.300 → 0.0.302
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.es.js +2 -2
- package/dist/index.es.js.map +1 -1
- package/dist/index.umd.js +1 -1
- package/dist/index.umd.js.map +1 -1
- package/package.json +1 -1
package/dist/index.es.js
CHANGED
|
@@ -12706,7 +12706,7 @@ const Od = process.env.SV_API_URL ?? "", ON = () => {
|
|
|
12706
12706
|
const S = i.find((F) => F.id === +O);
|
|
12707
12707
|
v == null || v.updateEnterprise(S), localStorage.setItem("enterprise", O);
|
|
12708
12708
|
}, [v, i]), y = Bt((O, S, F) => {
|
|
12709
|
-
const D = O === "-1" ? S : O === "-2" ? S.filter((P) => !P.history) : S.filter((P) => P.history === O);
|
|
12709
|
+
const D = O === "-1" ? S : O === "-2" ? S.filter((P) => !P.history || P.value === "-1") : S.filter((P) => P.history === O || P.value === "-1");
|
|
12710
12710
|
if (D.length === 2) {
|
|
12711
12711
|
const P = D.filter((R) => R.value !== "-1");
|
|
12712
12712
|
m(P), _(P[0].value);
|
|
@@ -12842,7 +12842,7 @@ const Od = process.env.SV_API_URL ?? "", ON = () => {
|
|
|
12842
12842
|
onChange: _,
|
|
12843
12843
|
placeholder: "Please select",
|
|
12844
12844
|
options: f,
|
|
12845
|
-
filterOption: (O, S) => ((S == null ? void 0 : S.label) ?? "").toLowerCase().includes(O.toLowerCase())
|
|
12845
|
+
filterOption: (O, S) => ((S == null ? void 0 : S.label) ?? "").replace(/[.]/g, "").toLowerCase().includes(O.toLowerCase())
|
|
12846
12846
|
}
|
|
12847
12847
|
) })
|
|
12848
12848
|
] }),
|