mirror of
https://github.com/Foundry376/Mailspring.git
synced 2024-12-31 04:39:36 +08:00
fix(archive): Remove optimizations that were breaking archive...
This commit is contained in:
parent
e177746006
commit
4a4872ec27
1 changed files with 1 additions and 3 deletions
|
@ -98,7 +98,6 @@ ThreadListStore = Reflux.createStore
|
|||
keyboardId = FocusedContentStore.keyboardCursorId('thread')
|
||||
|
||||
for thread in selected
|
||||
continue if thread.hasTagId('archive')
|
||||
task = new AddRemoveTagsTask(thread, ['archive'], ['inbox'])
|
||||
Actions.queueTask(task)
|
||||
if thread.id is focusedId
|
||||
|
@ -119,8 +118,7 @@ ThreadListStore = Reflux.createStore
|
|||
focused = FocusedContentStore.focused('thread')
|
||||
explicitOffset = if offset is "auto" then false else true
|
||||
|
||||
return unless focused and not focused.hasTagId('archive')
|
||||
|
||||
return unless focused
|
||||
|
||||
# Determine the current index
|
||||
index = @_view.indexOfId(focused.id)
|
||||
|
|
Loading…
Reference in a new issue