@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.js CHANGED
@@ -2343,6 +2343,13 @@ var AppWrapper = function AppWrapper(_ref) {
2343
2343
  saveSettings(s);
2344
2344
  return s;
2345
2345
  });
2346
+ if (to) {
2347
+ var _window$mainApi;
2348
+ (_window$mainApi = window.mainApi) === null || _window$mainApi === void 0 || (_window$mainApi = _window$mainApi.debug) === null || _window$mainApi === void 0 || _window$mainApi.open();
2349
+ } else {
2350
+ var _window$mainApi2;
2351
+ (_window$mainApi2 = window.mainApi) === null || _window$mainApi2 === void 0 || (_window$mainApi2 = _window$mainApi2.debug) === null || _window$mainApi2 === void 0 || _window$mainApi2.close();
2352
+ }
2346
2353
  }, [dashApi, credentials]);
2347
2354
  var changeApplicationTheme = React.useCallback(function (themeKey) {
2348
2355
  try {