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.
2 parents 758cd4f + f9073ba commit a797536Copy full SHA for a797536
src/app/features/files/store/files.state.ts
@@ -64,7 +64,10 @@ export class FilesState {
64
isAnonymous: response.meta?.anonymous ?? false,
65
});
66
}),
67
- catchError((error) => handleSectionError(ctx, 'files', error))
+ catchError((error) => {
68
+ ctx.patchState({ files: FILES_STATE_DEFAULTS.files });
69
+ return handleSectionError(ctx, 'files', error);
70
+ })
71
);
72
}
73
0 commit comments