@dskripchenko/laravel-admin 1.10.8 → 1.10.9
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.cjs +2 -2
- package/dist/index.cjs.map +1 -1
- package/dist/index.mjs +4 -2
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -19598,7 +19598,7 @@ const _e = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
19598
19598
|
setup(a) {
|
|
19599
19599
|
const t = L9();
|
|
19600
19600
|
async function n(r) {
|
|
19601
|
-
r !== t.current && await t.setLocale(r);
|
|
19601
|
+
r !== t.current && (await t.setLocale(r), typeof window < "u" && window.location.reload());
|
|
19602
19602
|
}
|
|
19603
19603
|
return (r, d) => (o(), P(l(Fe), null, {
|
|
19604
19604
|
trigger: w(() => [
|
|
@@ -26513,7 +26513,9 @@ const nq = "http://www.w3.org/2000/svg", oq = (a, t, n, r = []) => [`<${t}`, ...
|
|
|
26513
26513
|
we(
|
|
26514
26514
|
() => p.value.locale,
|
|
26515
26515
|
(E, q) => {
|
|
26516
|
-
E === q || !E || i.setLocale(E).
|
|
26516
|
+
E === q || !E || i.setLocale(E).then(() => {
|
|
26517
|
+
typeof window < "u" && window.location.reload();
|
|
26518
|
+
}).catch(() => {
|
|
26517
26519
|
});
|
|
26518
26520
|
}
|
|
26519
26521
|
), we(
|