Skip to content

Commit

Permalink
#1335 Add additional checks for pipeline in getNonClonedSelectedObjs() (
Browse files Browse the repository at this point in the history
  • Loading branch information
caritaou authored Jan 20, 2023
1 parent ec9ba6a commit 4fe7455
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ export default class CanavasStore {
const selectedPipelineId = this.getSelectedPipelineId();
if (selectedPipelineId) {
const pipeline = this.getNonClonedPipeline(selectedPipelineId);
if (pipeline[type]) {
if (pipeline && pipeline[type]) {
const selectedObjIds = this.getSelectedObjectIds();
return pipeline[type].filter((o) => selectedObjIds.includes(o.id));
}
Expand Down

0 comments on commit 4fe7455

Please sign in to comment.