mirror of
https://github.com/SoPat712/allstarr.git
synced 2026-02-09 23:55:10 -05:00
fix: progress bar external detection and download row removal
Some checks failed
CI / build-and-test (push) Has been cancelled
Some checks failed
CI / build-and-test (push) Has been cancelled
- Handle JsonElement when deserializing ProviderIds from cache - Check for external provider keys (SquidWTF, Deezer, Qobuz, Tidal) - Fix row removal selector to properly escape path - Progress bar now correctly shows local vs external split
This commit is contained in:
@@ -1628,7 +1628,8 @@
|
||||
showToast('File deleted successfully', 'success');
|
||||
|
||||
// Remove the row immediately for live update
|
||||
const row = document.querySelector(`tr[data-path="${CSS.escape(path)}"]`);
|
||||
const escapedPath = path.replace(/\\/g, '\\\\').replace(/"/g, '\\"');
|
||||
const row = document.querySelector(`tr[data-path="${escapedPath}"]`);
|
||||
if (row) {
|
||||
row.remove();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user