1
0
mirror of https://github.com/laurent22/joplin.git synced 2025-12-05 22:57:29 +02:00

All: Started resource fetcher service when a note has been decrypted

This commit is contained in:
Laurent Cozic
2020-04-19 10:11:46 +01:00
parent ab63316f83
commit 2b2ec2c655
4 changed files with 31 additions and 3 deletions

View File

@@ -45,6 +45,7 @@ const defaultState = {
state: 'idle',
itemIndex: 0,
itemCount: 0,
decryptedItemCounts: {},
},
selectedNoteTags: [],
resourceFetcher: {
@@ -415,6 +416,8 @@ function removeItemFromArray(array, property, value) {
}
const reducer = (state = defaultState, action) => {
// if (!['SIDE_MENU_OPEN_PERCENT'].includes(action.type)) console.info('Action', action.type);
let newState = state;
try {