fix attachment loading progress

This commit is contained in:
Ammar Ahmed
2022-07-09 17:04:53 +05:00
parent d5246de351
commit 637740bf4e
6 changed files with 10 additions and 5 deletions

View File

@@ -60,6 +60,7 @@ export const useAppEvents = () => {
});
const onLoadingAttachmentProgress = data => {
console.log('loading', data);
useAttachmentStore.getState().setLoading(data.total === data.current ? null : data);
};