fix(speed): Since we don't have pagination yet, show only 100 threads

This commit is contained in:
Ben Gotow 2015-03-09 18:36:37 -07:00
parent ef7ff27c56
commit 2189f4f2b7

View file

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