Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F3514912
D7922.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
730 B
Referenced Files
None
Subscribers
None
D7922.diff
View Options
diff --git a/lib/reducers/report-store-reducer.js b/lib/reducers/report-store-reducer.js
--- a/lib/reducers/report-store-reducer.js
+++ b/lib/reducers/report-store-reducer.js
@@ -66,7 +66,7 @@
? defaultDevEnabledReports
: defaultEnabledReports,
},
- reportStoreOperations: [],
+ reportStoreOperations: [{ type: 'remove_all_reports' }],
};
} else if (
action.type === logInActionTypes.success ||
@@ -80,7 +80,7 @@
? defaultDevEnabledReports
: defaultEnabledReports,
},
- reportStoreOperations: [],
+ reportStoreOperations: [{ type: 'remove_all_reports' }],
};
} else if (
(action.type === sendReportActionTypes.success ||
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Mon, Dec 23, 6:56 AM (17 h, 59 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2693900
Default Alt Text
D7922.diff (730 B)
Attached To
Mode
D7922: [lib] add operation for removing all reports on login/logout
Attached
Detach File
Event Timeline
Log In to Comment