Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F32906785
D14772.1768199168.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
768 B
Referenced Files
None
Subscribers
None
D14772.1768199168.diff
View Options
diff --git a/lib/reducers/backup-reducer.js b/lib/reducers/backup-reducer.js
--- a/lib/reducers/backup-reducer.js
+++ b/lib/reducers/backup-reducer.js
@@ -12,10 +12,12 @@
if (action.type === createUserKeysBackupActionTypes.success) {
const latestBackupInfo = action.payload;
return {
+ ...store,
latestBackupInfo,
};
} else if (action.type === changeIdentityUserPasswordActionTypes.success) {
return {
+ ...store,
latestBackupInfo: null,
};
}
diff --git a/lib/types/backup-types.js b/lib/types/backup-types.js
--- a/lib/types/backup-types.js
+++ b/lib/types/backup-types.js
@@ -79,4 +79,5 @@
export type BackupStore = {
+latestBackupInfo: ?LocalLatestBackupInfo,
+ +latestDatabaseVersion?: number,
};
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Mon, Jan 12, 6:26 AM (4 h, 52 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
5922003
Default Alt Text
D14772.1768199168.diff (768 B)
Attached To
Mode
D14772: [native] add `latestDatabaseVersion` to `BackupStore`
Attached
Detach File
Event Timeline
Log In to Comment