@adstore/templates 2.10.16 → 2.10.17
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/templates.js.js +3 -1
- package/package.json +1 -1
package/dist/templates.js.js
CHANGED
@@ -2851,6 +2851,8 @@ const Uo = (t, e = "DD.MM.YYYY", o = "en") => t ? vf(t).locale(o).format(e) : ""
|
|
2851
2851
|
body: a
|
2852
2852
|
}) => {
|
2853
2853
|
const [s, c] = ut(!1), [i, _] = ut(), l = Et(() => {
|
2854
|
+
if (t != null && t.includes("undefined") || t != null && t.includes("null"))
|
2855
|
+
return;
|
2854
2856
|
let p = t;
|
2855
2857
|
if (o) {
|
2856
2858
|
const d = new URLSearchParams();
|
@@ -2862,7 +2864,7 @@ const Uo = (t, e = "DD.MM.YYYY", o = "en") => t ? vf(t).locale(o).format(e) : ""
|
|
2862
2864
|
}
|
2863
2865
|
return p;
|
2864
2866
|
}, [t, o]), u = Vn(() => te(void 0, null, function* () {
|
2865
|
-
if (e)
|
2867
|
+
if (e || !l)
|
2866
2868
|
return;
|
2867
2869
|
c(!0);
|
2868
2870
|
const p = yield fetch(l, {
|