Skip to content

Commit

Permalink
Add column only if has target table
Browse files Browse the repository at this point in the history
  • Loading branch information
ArthurMota9 committed Dec 10, 2021
1 parent d1e1050 commit 2cdd02d
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 2cdd02d

Please sign in to comment.