@trops/dash-core 0.1.466 → 0.1.467

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
@@ -22668,6 +22668,14 @@ var LayoutBuilder = function LayoutBuilder(_ref) {
22668
22668
  newWorkspace.selectedProviders[uuid] = _objectSpread$J(_objectSpread$J({}, newWorkspace.selectedProviders[uuid] || {}), {}, _defineProperty({}, providerType, providerId));
22669
22669
  }
22670
22670
  setCurrentWorkspace(newWorkspace);
22671
+ // Propagate to the parent (DashboardStage) so workspaceSelected
22672
+ // — what the dashboard config bulk-edit modal reads from —
22673
+ // stays in sync with per-widget provider edits. Mirrors the
22674
+ // pattern in the AI placement / remix handlers above. Without
22675
+ // this, the bulk modal opens with stale provider bindings.
22676
+ if (typeof onWorkspaceChangeRef.current === "function") {
22677
+ onWorkspaceChangeRef.current(newWorkspace);
22678
+ }
22671
22679
  }
22672
22680
  }
22673
22681
  function handleCreateProvider(providerName, credentials) {