@trops/dash-core 0.1.148 → 0.1.149

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.esm.js CHANGED
@@ -2325,6 +2325,13 @@ var AppWrapper = function AppWrapper(_ref) {
2325
2325
  saveSettings(s);
2326
2326
  return s;
2327
2327
  });
2328
+ if (to) {
2329
+ var _window$mainApi;
2330
+ (_window$mainApi = window.mainApi) === null || _window$mainApi === void 0 || (_window$mainApi = _window$mainApi.debug) === null || _window$mainApi === void 0 || _window$mainApi.open();
2331
+ } else {
2332
+ var _window$mainApi2;
2333
+ (_window$mainApi2 = window.mainApi) === null || _window$mainApi2 === void 0 || (_window$mainApi2 = _window$mainApi2.debug) === null || _window$mainApi2 === void 0 || _window$mainApi2.close();
2334
+ }
2328
2335
  }, [dashApi, credentials]);
2329
2336
  var changeApplicationTheme = useCallback(function (themeKey) {
2330
2337
  try {