• Sean Hammond's avatar
    Don't change domainModel.group on group focused · fe565c8a
    Sean Hammond authored
    Don't change the value of domainModel.group when the focused group changes.
    
    Instead, change it to groups.focusedGroup() in updatedDomainModel() before the
    annotation is sent to the server.
    
    This fits with the idea that domainModel is a read-only copy of the annotation
    that we received from the server, and vm is the read-write copy. But there's no
    vm.group as this would always be the same as groups.focusedGroup().
    fe565c8a
Name
Last commit
Last update
h Loading commit data...
scripts Loading commit data...
.hound.yml Loading commit data...
.jscsrc Loading commit data...
.jshintignore Loading commit data...
.jshintrc Loading commit data...
package.json Loading commit data...