Don't use vm.annotation.group
The templates read vm.group() (which returns domainModel.group) and never write any group, so vm.annotation.group just isn't needed. The controller modifies domainModel.group is the focused group changes while creating a new annotation. vm.annotation.group is still there, we just don't use it anymore, in the future we should not copy it into vm.annotation at all.
Showing
Please register or sign in to comment