@dskripchenko/laravel-admin 1.1.17 → 1.1.18

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.mjs CHANGED
@@ -1250,7 +1250,7 @@ const J = se("admin-auth", () => {
1250
1250
  return B.id ?? B.key ?? "";
1251
1251
  }
1252
1252
  function T(B) {
1253
- e.value !== B && (e.value = B, k());
1253
+ e.value !== B && (e.value = B, k(), o.value = !0);
1254
1254
  }
1255
1255
  function k() {
1256
1256
  t.value = [], n.value = { ...et }, o.value = !1, l.value = null, f.value = "", g.value = {}, _.value = null, w.value = null, x.value = /* @__PURE__ */ new Set();
@@ -1626,11 +1626,11 @@ const Aa = { class: "admin-page admin-resource-index" }, Ea = { class: "admin-pa
1626
1626
  _: 1
1627
1627
  }, 8, ["onClick"])) : R("", !0)
1628
1628
  ])) : R("", !0),
1629
- r(a).slowLoading && r(a).items.length === 0 ? (i(), c("div", Ba, [
1630
- (i(), c(P, null, D(8, (A) => $(r(We), {
1629
+ r(a).loading && r(a).items.length === 0 ? (i(), c("div", Ba, [
1630
+ r(a).slowLoading ? (i(), c(P, { key: 0 }, D(8, (A) => $(r(We), {
1631
1631
  key: A,
1632
1632
  height: "40px"
1633
- })), 64))
1633
+ })), 64)) : R("", !0)
1634
1634
  ])) : r(a).hasError ? (i(), b(r(Kt), {
1635
1635
  key: 3,
1636
1636
  title: "Не удалось загрузить данные",