Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F33302096
D6589.1768777784.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
819 B
Referenced Files
None
Subscribers
None
D6589.1768777784.diff
View Options
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
Details
Attached
Mime Type
text/plain
Expires
Sun, Jan 18, 11:09 PM (13 h, 22 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
5953372
Default Alt Text
D6589.1768777784.diff (819 B)
Attached To
Mode
D6589: [lib] Make FilterThreadInfo $ReadOnly
Attached
Detach File
Event Timeline
Log In to Comment