@trops/dash-core 0.1.291 → 0.1.293
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/electron/index.js +50 -4
- package/dist/electron/index.js.map +1 -1
- package/dist/index.esm.js +2 -3
- package/dist/index.esm.js.map +1 -1
- package/dist/index.js +2 -3
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -50022,10 +50022,9 @@ var DashboardStageInner = function DashboardStageInner(_ref2) {
|
|
|
50022
50022
|
// eslint-disable-next-line react-hooks/exhaustive-deps
|
|
50023
50023
|
}, [popout, popoutWorkspaceId, workspaceConfig]);
|
|
50024
50024
|
|
|
50025
|
-
// ───
|
|
50025
|
+
// ─── Listen for workspace:saved broadcasts (MCP tools, popouts) ──
|
|
50026
50026
|
React.useEffect(function () {
|
|
50027
50027
|
var _window$mainApi2;
|
|
50028
|
-
if (!popout) return;
|
|
50029
50028
|
if (!((_window$mainApi2 = window.mainApi) !== null && _window$mainApi2 !== void 0 && _window$mainApi2.on)) return;
|
|
50030
50029
|
var handler = function handler() {
|
|
50031
50030
|
loadWorkspaces();
|
|
@@ -50038,7 +50037,7 @@ var DashboardStageInner = function DashboardStageInner(_ref2) {
|
|
|
50038
50037
|
}
|
|
50039
50038
|
};
|
|
50040
50039
|
// eslint-disable-next-line react-hooks/exhaustive-deps
|
|
50041
|
-
}, [
|
|
50040
|
+
}, []);
|
|
50042
50041
|
|
|
50043
50042
|
// ─── Load recents on mount ───────────────────────────────────────
|
|
50044
50043
|
React.useEffect(function () {
|