Skip to content

Commit

Permalink
Merge pull request #5286 from systeminit/fix/component-type-change
Browse files Browse the repository at this point in the history
Fix: if no view data is received, but component exists on this view, we need to allow it to process
  • Loading branch information
zacharyhamm authored Jan 17, 2025
2 parents 4166c6c + 4f34e9a commit d75899f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/web/src/store/views.store.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1727,7 +1727,7 @@ export const useViewsStore = (forceChangeSetId?: ChangeSetId) => {
const componentGeo = view.components[data.component.id];
const thisGeo = groupGeo ?? componentGeo;
// I don't exist in this view, and I am not being added to this view, return
if (viewId !== view.id) {
if (viewId && viewId !== view.id) {
return;
}
const finalGeo = geometry ?? thisGeo;
Expand Down

0 comments on commit d75899f

Please sign in to comment.