nectiasw 0.0.300 → 0.0.301

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 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);