mirror of
https://github.com/Foundry376/Mailspring.git
synced 2025-02-20 22:23:53 +08:00
Removed old code from thread-list
This commit is contained in:
parent
76b83f5faf
commit
11b20f326d
1 changed files with 0 additions and 10 deletions
|
@ -57,7 +57,6 @@ class ThreadList extends React.Component
|
|||
constructor: (@props) ->
|
||||
@state =
|
||||
style: 'unknown'
|
||||
task: null
|
||||
|
||||
componentWillMount: =>
|
||||
c1 = new ListTabular.Column
|
||||
|
@ -170,7 +169,6 @@ class ThreadList extends React.Component
|
|||
|
||||
render: =>
|
||||
if @state.style is 'wide'
|
||||
<div>
|
||||
<MultiselectList
|
||||
dataStore={ThreadListStore}
|
||||
columns={@wideColumns}
|
||||
|
@ -184,9 +182,7 @@ class ThreadList extends React.Component
|
|||
onDragEnd={@_onDragEnd}
|
||||
draggable="true"
|
||||
collection="thread" />
|
||||
</div>
|
||||
else if @state.style is 'narrow'
|
||||
<div>
|
||||
<MultiselectList
|
||||
dataStore={ThreadListStore}
|
||||
columns={@narrowColumns}
|
||||
|
@ -197,15 +193,9 @@ class ThreadList extends React.Component
|
|||
scrollTooltipComponent={ThreadListScrollTooltip}
|
||||
emptyComponent={EmptyState}
|
||||
collection="thread" />
|
||||
</div>
|
||||
else
|
||||
<div></div>
|
||||
|
||||
# _renderUndoRedo: =>
|
||||
# if @state.task
|
||||
# <UndoRedoComponent task:{null}
|
||||
# show:{false} />
|
||||
|
||||
_threadIdAtPoint: (x, y) ->
|
||||
item = document.elementFromPoint(event.clientX, event.clientY).closest('.list-item')
|
||||
return null unless item
|
||||
|
|
Loading…
Reference in a new issue