ingeniuscliq-core 0.5.2 → 0.5.4
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.
|
@@ -14,11 +14,11 @@ function useDocumentMeta() {
|
|
|
14
14
|
const link = document.createElement("link");
|
|
15
15
|
link.rel = "icon";
|
|
16
16
|
link.type = "image/x-icon";
|
|
17
|
-
link.href = getImageUrlByTenant(settings.store_favicon)
|
|
17
|
+
link.href = settings.store_favicon ? getImageUrlByTenant(settings.store_favicon) : logoFallback;
|
|
18
18
|
document.head.appendChild(link);
|
|
19
19
|
const appleTouchIcon = document.createElement("link");
|
|
20
20
|
appleTouchIcon.rel = "apple-touch-icon";
|
|
21
|
-
appleTouchIcon.href = getImageUrlByTenant(settings.store_favicon)
|
|
21
|
+
appleTouchIcon.href = settings.store_favicon ? getImageUrlByTenant(settings.store_favicon) : logoFallback;
|
|
22
22
|
document.head.appendChild(appleTouchIcon);
|
|
23
23
|
}, [settings]);
|
|
24
24
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CoreAuthBuilder.d.ts","sourceRoot":"","sources":["../../../../src/modules/CoreAuth/classes/CoreAuthBuilder.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,mBAAmB,EAAE,MAAM,kBAAkB,CAAC;AACvD,OAAO,KAAK,EAAE,QAAQ,EAAE,aAAa,EAAiD,MAAM,mBAAmB,CAAC;AAEhH,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAC;AAEhE,qBAAa,eAAe,CAAC,CAAC,SAAS,QAAQ,CAAE,YAAW,WAAW;IACrE,SAAS,CAAC,WAAW,EAAE,mBAAmB,CAAC,CAAC,CAAC,CAAC;IAC9C,SAAS,CAAC,YAAY,EAKjB,IAAI,CAAC,aAAa,CAAC,CAAC,CAAC,EAAE,MAAM,GAAG,iBAAiB,GAAG,SAAS,GAAG,OAAO,CAAC,CAAC;gBAG5E,WAAW,GAAE,mBAAmB,CAAC,CAAC,CAAgC,EAClE,YAAY,CAAC,EAAE,OAAO,CAAC,aAAa,CAAC,CAAC,CAAC,CAAC;IAQnC,KAAK;;;;;;;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"CoreAuthBuilder.d.ts","sourceRoot":"","sources":["../../../../src/modules/CoreAuth/classes/CoreAuthBuilder.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,mBAAmB,EAAE,MAAM,kBAAkB,CAAC;AACvD,OAAO,KAAK,EAAE,QAAQ,EAAE,aAAa,EAAiD,MAAM,mBAAmB,CAAC;AAEhH,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAC;AAEhE,qBAAa,eAAe,CAAC,CAAC,SAAS,QAAQ,CAAE,YAAW,WAAW;IACrE,SAAS,CAAC,WAAW,EAAE,mBAAmB,CAAC,CAAC,CAAC,CAAC;IAC9C,SAAS,CAAC,YAAY,EAKjB,IAAI,CAAC,aAAa,CAAC,CAAC,CAAC,EAAE,MAAM,GAAG,iBAAiB,GAAG,SAAS,GAAG,OAAO,CAAC,CAAC;gBAG5E,WAAW,GAAE,mBAAmB,CAAC,CAAC,CAAgC,EAClE,YAAY,CAAC,EAAE,OAAO,CAAC,aAAa,CAAC,CAAC,CAAC,CAAC;IAQnC,KAAK;;;;;;;;;;;;;;;;;CAyLb"}
|
|
@@ -49,7 +49,6 @@ class CoreAuthBuilder {
|
|
|
49
49
|
loading: false,
|
|
50
50
|
error
|
|
51
51
|
});
|
|
52
|
-
throw error;
|
|
53
52
|
}
|
|
54
53
|
},
|
|
55
54
|
// Actions
|
|
@@ -72,7 +71,6 @@ class CoreAuthBuilder {
|
|
|
72
71
|
error
|
|
73
72
|
});
|
|
74
73
|
onError(error);
|
|
75
|
-
throw error;
|
|
76
74
|
} finally {
|
|
77
75
|
onFinish();
|
|
78
76
|
}
|
|
@@ -96,7 +94,6 @@ class CoreAuthBuilder {
|
|
|
96
94
|
error
|
|
97
95
|
});
|
|
98
96
|
onError(error);
|
|
99
|
-
throw error;
|
|
100
97
|
} finally {
|
|
101
98
|
onFinish();
|
|
102
99
|
}
|
|
@@ -119,7 +116,6 @@ class CoreAuthBuilder {
|
|
|
119
116
|
} catch (error) {
|
|
120
117
|
set({ loading: false, error });
|
|
121
118
|
onError(error);
|
|
122
|
-
throw error;
|
|
123
119
|
} finally {
|
|
124
120
|
onFinish();
|
|
125
121
|
}
|
|
@@ -138,7 +134,6 @@ class CoreAuthBuilder {
|
|
|
138
134
|
} catch (error) {
|
|
139
135
|
set({ loading: false, error });
|
|
140
136
|
onError(error);
|
|
141
|
-
throw error;
|
|
142
137
|
} finally {
|
|
143
138
|
onFinish();
|
|
144
139
|
}
|
|
@@ -162,7 +157,6 @@ class CoreAuthBuilder {
|
|
|
162
157
|
} catch (error) {
|
|
163
158
|
set({ loading: false, error });
|
|
164
159
|
onError(error);
|
|
165
|
-
throw error;
|
|
166
160
|
} finally {
|
|
167
161
|
onFinish();
|
|
168
162
|
}
|