fix sync progress not being hidden
Mwebclient/src/components/Playlist.tsx
@@ -81,12 +81,12 @@ export default function Playlist(props: PlaylistProps) {
return download(fileName, item, basePath, props.currentDir, props.options, props.fetchFiles);
});
await Promise.allSettled(downloadPromises);
progressToast.hideToast();
toast("Playlist sync completed", "success");
} catch (e) {
progressToast.hideToast();
toast("Playlist sync failed", "error", e);
} finally {
progressToast.hideToast();
setSyncing(false);
}
}