fix(archive): Remove optimizations that were breaking archive...

This commit is contained in:
Ben Gotow 2015-05-19 19:23:34 -07:00
parent e177746006
commit 4a4872ec27

View file

@ -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)