@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 +8 -0
- package/dist/index.esm.js.map +1 -1
- package/dist/index.js +8 -0
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -22686,6 +22686,14 @@ var LayoutBuilder = function LayoutBuilder(_ref) {
|
|
|
22686
22686
|
newWorkspace.selectedProviders[uuid] = _objectSpread$J(_objectSpread$J({}, newWorkspace.selectedProviders[uuid] || {}), {}, _defineProperty({}, providerType, providerId));
|
|
22687
22687
|
}
|
|
22688
22688
|
setCurrentWorkspace(newWorkspace);
|
|
22689
|
+
// Propagate to the parent (DashboardStage) so workspaceSelected
|
|
22690
|
+
// — what the dashboard config bulk-edit modal reads from —
|
|
22691
|
+
// stays in sync with per-widget provider edits. Mirrors the
|
|
22692
|
+
// pattern in the AI placement / remix handlers above. Without
|
|
22693
|
+
// this, the bulk modal opens with stale provider bindings.
|
|
22694
|
+
if (typeof onWorkspaceChangeRef.current === "function") {
|
|
22695
|
+
onWorkspaceChangeRef.current(newWorkspace);
|
|
22696
|
+
}
|
|
22689
22697
|
}
|
|
22690
22698
|
}
|
|
22691
22699
|
function handleCreateProvider(providerName, credentials) {
|