Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F3341247
D11736.id39393.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
567 B
Referenced Files
None
Subscribers
None
D11736.id39393.diff
View Options
diff --git a/lib/reducers/keyserver-reducer.js b/lib/reducers/keyserver-reducer.js
--- a/lib/reducers/keyserver-reducer.js
+++ b/lib/reducers/keyserver-reducer.js
@@ -343,6 +343,12 @@
};
} else if (action.type === updateConnectionStatusActionType) {
const { keyserverID, status } = action.payload;
+ if (!state.keyserverInfos[keyserverID]) {
+ return {
+ keyserverStore: state,
+ keyserverStoreOperations: [],
+ };
+ }
const operation: ReplaceKeyserverOperation = {
type: 'replace_keyserver',
payload: {
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Fri, Nov 22, 10:42 PM (17 h, 2 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2563408
Default Alt Text
D11736.id39393.diff (567 B)
Attached To
Mode
D11736: [lib] Fix error when deleting a keyserver
Attached
Detach File
Event Timeline
Log In to Comment