mirror of
https://github.com/Foundry376/Mailspring.git
synced 2025-01-28 10:57:47 +08:00
fix(speed): Since we don't have pagination yet, show only 100 threads
This commit is contained in:
parent
ef7ff27c56
commit
2189f4f2b7
1 changed files with 1 additions and 1 deletions
|
@ -33,7 +33,7 @@ ThreadStore = Reflux.createStore
|
|||
DatabaseStore.findAll(Thread, [
|
||||
Thread.attributes.namespaceId.equal(@_namespaceId),
|
||||
Thread.attributes.tags.contains(@_tagId)
|
||||
]).then (items) =>
|
||||
]).limit(100).then (items) =>
|
||||
@_items = items
|
||||
|
||||
if oldSelectedThread && !@selectedThread()
|
||||
|
|
Loading…
Reference in a new issue