diy-template-components 1.1.1 → 1.1.3
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 +3 -1
- package/build/index.es.js.map +1 -1
- package/build/index.js +3 -1
- package/build/index.js.map +1 -1
- package/package.json +1 -1
package/build/index.es.js
CHANGED
|
@@ -1119,6 +1119,8 @@ function OptionList({
|
|
|
1119
1119
|
alt: "appStore"
|
|
1120
1120
|
})) : null);
|
|
1121
1121
|
};
|
|
1122
|
+
const iosLink = isTutorWebsite ? headerData?.iosDownloadLink : headerData?.iosUrl;
|
|
1123
|
+
console.log(iosLink, 'sakshat ios link');
|
|
1122
1124
|
return /*#__PURE__*/React.createElement("div", {
|
|
1123
1125
|
className: classes.listSection
|
|
1124
1126
|
}, /*#__PURE__*/React.createElement("div", {
|
|
@@ -1144,7 +1146,7 @@ function OptionList({
|
|
|
1144
1146
|
icon: arrowDown
|
|
1145
1147
|
}) : null, isTutorWebsite && /*#__PURE__*/React.createElement(React.Fragment, null, isAndroidDelisted && !headerData.navs ? /*#__PURE__*/React.createElement(React.Fragment, null, renderDownloadAppButton()) : /*#__PURE__*/React.createElement(React.Fragment, null, !headerData?.navs && renderAppDownloadLinks())), isMobile ? downloadApkURL?.length > 0 || headerData?.androidDownloadLink?.length || headerData?.iosDownloadLink?.length > 0 ? /*#__PURE__*/React.createElement(Button, {
|
|
1146
1148
|
data: {
|
|
1147
|
-
link: isAndroidDelisted ? getAppDownloadLink(downloadApkURL,
|
|
1149
|
+
link: isAndroidDelisted ? getAppDownloadLink(downloadApkURL, iosLink) : getAppDownloadLink(headerData?.androidDownloadLink, iosLink),
|
|
1148
1150
|
isLink: 1,
|
|
1149
1151
|
value: downloadAppText,
|
|
1150
1152
|
isExternal: 1
|