We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 58ef2f7 commit 4b09a22Copy full SHA for 4b09a22
packages/app-backend-core/src/index.ts
@@ -121,8 +121,8 @@ async function connect () {
121
const sendComponentUpdate = throttle(async (appRecord: AppRecord, id: string) => {
122
try {
123
// Update component inspector
124
- if (id && isSubscribed(BridgeSubscriptions.SELECTED_COMPONENT_DATA, sub => sub.payload.instanceId === id)) {
125
- await sendSelectedComponentData(appRecord, id, ctx)
+ if (ctx.currentInspectedComponentId) {
+ await sendSelectedComponentData(appRecord, ctx.currentInspectedComponentId, ctx)
126
}
127
128
// Update tree (tags)
0 commit comments