We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2b6b9e6 commit 4d60675Copy full SHA for 4d60675
packages/com.sncommunity.advanced-checklist/src/features/tasks/tasks-slice.ts
@@ -333,13 +333,11 @@ const tasksSlice = createSlice({
333
groups: parsedState?.groups ?? [],
334
}
335
336
- if (newState !== initialState) {
337
- state.schemaVersion = newState.schemaVersion
338
- state.groups = newState.groups
339
- state.defaultSections = newState.defaultSections
340
- state.initialized = true
341
- delete state.lastError
342
- }
+ state.schemaVersion = newState.schemaVersion
+ state.groups = newState.groups
+ state.defaultSections = newState.defaultSections
+ state.initialized = true
+ delete state.lastError
343
} catch (error: any) {
344
state.initialized = false
345
state.lastError = `An error has occurred while parsing the note's content: ${error}`
0 commit comments