Skip to content

Commit

Permalink
Merge pull request #295 from brmodeloweb/fix/table-link-without-target
Browse files Browse the repository at this point in the history
Add column only if has target table (fix cypress test and console error)
  • Loading branch information
ArthurMota9 authored Dec 11, 2021
2 parents d1e1050 + 2cdd02d commit e891632
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/angular/service/logicService.js
Original file line number Diff line number Diff line change
Expand Up @@ -311,7 +311,7 @@ const logicService = ($rootScope, ModelAPI, LogicFactory, LogicConversorService)
idLink: link.id,
});

target.addAttribute(column);
if (target) target.addAttribute(column);
$rootScope.$broadcast('element:update', ls.paper.findViewByModel(target));
}

Expand Down

0 comments on commit e891632

Please sign in to comment.