bt-core-app 1.4.298 → 1.4.300

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.
@@ -33576,8 +33576,11 @@ const NL = /* @__PURE__ */ tt({
33576
33576
  }
33577
33577
  });
33578
33578
  async function w(C) {
33579
- const { valid: M } = await l.value.validate();
33580
- M && await c.saveItem(c.asyncItem.value, { navBack: C });
33579
+ if (l.value != null) {
33580
+ const { valid: M } = await l.value.validate();
33581
+ M && await c.saveItem(c.asyncItem.value, { navBack: C });
33582
+ } else
33583
+ await c.saveItem(c.asyncItem.value, { navBack: C });
33581
33584
  }
33582
33585
  return (C, M) => {
33583
33586
  const k = ha("bt-blade");
@@ -33653,6 +33656,7 @@ const NL = /* @__PURE__ */ tt({
33653
33656
  isMobile: x,
33654
33657
  item: D(c).asyncItem.value,
33655
33658
  mode: D(c).mode.value,
33659
+ save: w,
33656
33660
  size: D(s),
33657
33661
  style: Wt(u.value)
33658
33662
  }, () => [
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "bt-core-app",
3
- "version": "1.4.298",
3
+ "version": "1.4.300",
4
4
  "description": "Core app tools for some basic features like navigation, authentication, server apis, and cosmetics",
5
5
  "homepage": "https://github.com/BlitzItTech/bt-core",
6
6
  "bugs": {