Page MenuHomePhabricator

D6589.id22074.diff
No OneTemporary

D6589.id22074.diff

diff --git a/lib/selectors/calendar-selectors.js b/lib/selectors/calendar-selectors.js
--- a/lib/selectors/calendar-selectors.js
+++ b/lib/selectors/calendar-selectors.js
@@ -33,7 +33,10 @@
continue;
}
if (result[threadID]) {
- result[threadID].numVisibleEntries++;
+ result[threadID] = {
+ ...result[threadID],
+ numVisibleEntries: result[threadID].numVisibleEntries + 1,
+ };
} else {
result[threadID] = {
threadInfo,
diff --git a/lib/types/filter-types.js b/lib/types/filter-types.js
--- a/lib/types/filter-types.js
+++ b/lib/types/filter-types.js
@@ -29,6 +29,6 @@
};
export type FilterThreadInfo = {
- threadInfo: ThreadInfo,
- numVisibleEntries: number,
+ +threadInfo: ThreadInfo,
+ +numVisibleEntries: number,
};

File Metadata

Mime Type
text/plain
Expires
Sat, Dec 21, 3:51 AM (18 h, 10 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2683576
Default Alt Text
D6589.id22074.diff (819 B)

Event Timeline