mirror of
https://github.com/Foundry376/Mailspring.git
synced 2025-03-16 02:03:42 +08:00
fix(thread-list): Random error when rapidly clicking row after launch
This commit is contained in:
parent
5f52a9a47b
commit
e3a58b4bde
1 changed files with 1 additions and 0 deletions
|
@ -58,6 +58,7 @@ class ObservableListDataSource extends ListTabular.DataSource
|
|||
@_resultSet.modelAtOffset(offset)
|
||||
|
||||
getById: (id) ->
|
||||
return null unless @_resultSet
|
||||
@_resultSet.modelWithId(id)
|
||||
|
||||
indexOfId: (id) ->
|
||||
|
|
Loading…
Reference in a new issue