diy-template-components 1.0.17 → 1.0.19
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/build/index.es.js +16 -2
- package/build/index.es.js.map +1 -1
- package/build/index.js +16 -2
- package/build/index.js.map +1 -1
- package/package.json +1 -1
package/build/index.es.js
CHANGED
|
@@ -1332,7 +1332,7 @@ function MobileHeader({
|
|
|
1332
1332
|
let androidUrl = null;
|
|
1333
1333
|
let downloadLink = null;
|
|
1334
1334
|
if (isTutorWebsite) {
|
|
1335
|
-
console.log(header, 'sakshat header mobile');
|
|
1335
|
+
console.log(header, 'sakshat header mobile tutor website');
|
|
1336
1336
|
if (header?.iosUrl) {
|
|
1337
1337
|
iosUrl = /*#__PURE__*/React.createElement(Button, {
|
|
1338
1338
|
data: {
|
|
@@ -1419,7 +1419,21 @@ function MobileHeader({
|
|
|
1419
1419
|
downloadLink = null;
|
|
1420
1420
|
}
|
|
1421
1421
|
} else {
|
|
1422
|
-
if (header?.
|
|
1422
|
+
if (header?.isAndroidDelisted && header?.apkURL) {
|
|
1423
|
+
console.log(header, 'sakshat header mobile diy website');
|
|
1424
|
+
downloadLink = /*#__PURE__*/React.createElement(Button, {
|
|
1425
|
+
data: {
|
|
1426
|
+
link: header?.apkURL,
|
|
1427
|
+
isLink: 1,
|
|
1428
|
+
value: 'Download App',
|
|
1429
|
+
isExternal: 1
|
|
1430
|
+
},
|
|
1431
|
+
type: 'primary',
|
|
1432
|
+
size: 'small',
|
|
1433
|
+
target: 'blank',
|
|
1434
|
+
rel: null
|
|
1435
|
+
});
|
|
1436
|
+
} else if (header?.appLink) {
|
|
1423
1437
|
downloadLink = /*#__PURE__*/React.createElement(Button, {
|
|
1424
1438
|
data: {
|
|
1425
1439
|
link: header?.appLink,
|