@egovernments/digit-ui-module-core 1.5.4-alpha.6 → 1.5.4-alpha.7
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.js +5 -1
- package/dist/index.js.map +1 -1
- package/dist/index.modern.js +5 -1
- package/dist/index.modern.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -5240,7 +5240,7 @@ var EmployeeApp = function EmployeeApp(_ref) {
|
|
|
5240
5240
|
};
|
|
5241
5241
|
|
|
5242
5242
|
var Home = function Home() {
|
|
5243
|
-
var _citizenServicesObj$s, _citizenServicesObj$p, _citizenServicesObj$p2, _citizenServicesObj$p5, _citizenServicesObj$p6, _citizenServicesObj$p9, _citizenServicesObj$p10, _citizenServicesObj$p13, _citizenServicesObj$p14, _infoAndUpdatesObj$si, _infoAndUpdatesObj$pr, _infoAndUpdatesObj$pr2, _infoAndUpdatesObj$pr5, _infoAndUpdatesObj$pr6, _infoAndUpdatesObj$pr9, _infoAndUpdatesObj$pr10, _infoAndUpdatesObj$pr13, _infoAndUpdatesObj$pr14, _whatsNewSectionObj$s2;
|
|
5243
|
+
var _window3, _window3$location, _window3$location$hre, _window3$location$hre2, _citizenServicesObj$s, _citizenServicesObj$p, _citizenServicesObj$p2, _citizenServicesObj$p5, _citizenServicesObj$p6, _citizenServicesObj$p9, _citizenServicesObj$p10, _citizenServicesObj$p13, _citizenServicesObj$p14, _infoAndUpdatesObj$si, _infoAndUpdatesObj$pr, _infoAndUpdatesObj$pr2, _infoAndUpdatesObj$pr5, _infoAndUpdatesObj$pr6, _infoAndUpdatesObj$pr9, _infoAndUpdatesObj$pr10, _infoAndUpdatesObj$pr13, _infoAndUpdatesObj$pr14, _whatsNewSectionObj$s2;
|
|
5244
5244
|
var _useTranslation = reactI18next.useTranslation(),
|
|
5245
5245
|
t = _useTranslation.t;
|
|
5246
5246
|
var history = reactRouterDom.useHistory();
|
|
@@ -5282,6 +5282,10 @@ var Home = function Home() {
|
|
|
5282
5282
|
var _window2;
|
|
5283
5283
|
history.push("/" + ((_window2 = window) === null || _window2 === void 0 ? void 0 : _window2.contextPath) + "/citizen/" + redirectURL);
|
|
5284
5284
|
}
|
|
5285
|
+
if ((_window3 = window) !== null && _window3 !== void 0 && (_window3$location = _window3.location) !== null && _window3$location !== void 0 && (_window3$location$hre = _window3$location.href) !== null && _window3$location$hre !== void 0 && (_window3$location$hre2 = _window3$location$hre.includes) !== null && _window3$location$hre2 !== void 0 && _window3$location$hre2.call(_window3$location$hre, "sanitation-ui")) {
|
|
5286
|
+
var _window4;
|
|
5287
|
+
history.push("/" + ((_window4 = window) === null || _window4 === void 0 ? void 0 : _window4.contextPath) + "/citizen/all-services");
|
|
5288
|
+
}
|
|
5285
5289
|
var handleClickOnWhatsAppBanner = function handleClickOnWhatsAppBanner(obj) {
|
|
5286
5290
|
window.open(obj === null || obj === void 0 ? void 0 : obj.navigationUrl);
|
|
5287
5291
|
};
|