asab_webui_shell 27.8.2-alpha.0 → 27.8.2-alpha.1

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.
@@ -23,7 +23,9 @@ function ApplicationRouter(props) {
23
23
  var _state$router;
24
24
  return (_state$router = state.router) === null || _state$router === void 0 ? void 0 : _state$router.routes;
25
25
  });
26
- if (!(0, _browserSupport.isBrowserSupported)()) {
26
+
27
+ // Verify browser support only if browserSupportCheck is not disabled
28
+ if (props.app.Config.get('browserSupportCheck') !== false && !(0, _browserSupport.isBrowserSupported)()) {
27
29
  return /*#__PURE__*/_react.default.createElement(_UnsupportedBrowserScreen.UnsupportedBrowserScreen, null);
28
30
  }
29
31
  return /*#__PURE__*/_react.default.createElement(_reactRouter.Routes, null, routes && routes.map((route, idx) => {
@@ -14,6 +14,7 @@ require("./UnsupportedBrowserScreen.scss");
14
14
  /*
15
15
  Shown in #app-main when the browser fails the shell capability probe.
16
16
  Header and Sidebar stay mounted so the user can still log out.
17
+ Skipped when config browserSupportCheck is set to false
17
18
  */
18
19
  function UnsupportedBrowserScreen() {
19
20
  var _useTranslation = (0, _reactI18next.useTranslation)(),
@@ -13,6 +13,7 @@ import './UnsupportedBrowserScreen.scss';
13
13
  /*
14
14
  Shown in #app-main when the browser fails the shell capability probe.
15
15
  Header and Sidebar stay mounted so the user can still log out.
16
+ Skipped when config browserSupportCheck is set to false
16
17
  */
17
18
  export function UnsupportedBrowserScreen() {
18
19
  const { t } = useTranslation();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "asab_webui_shell",
3
- "version": "27.8.2-alpha.0",
3
+ "version": "27.8.2-alpha.1",
4
4
  "license": "BSD-3-Clause",
5
5
  "description": "TeskaLabs ASAB WebUI Shell Application",
6
6
  "contributors": [