• Robert Knight's avatar
    Fix new drafts being created when signing out · 7531b0ad
    Robert Knight authored
    When signing out whilst a group is selected and
    unsaved drafts were present, the following would
    happpen:
    
     1. User prompted to discard drafts
    
     2. User accepts prompt and draft store is cleared
    
     3. Group focus changes and a new draft is created
    
    Fix this by only updating a draft when the group
    focus changes, not creating a new one if it has been removed
    7531b0ad
annotation.coffee 17 KB