fix(frontend): update Share interface property from download_count to downloads
All checks were successful
Automated Container Build / build-and-push (push) Successful in 3m25s
All checks were successful
Automated Container Build / build-and-push (push) Successful in 3m25s
This commit is contained in:
parent
ed3eed6bb7
commit
1f83d57942
21 changed files with 241 additions and 137 deletions
|
|
@ -91,6 +91,12 @@ class ApiClient {
|
|||
} catch {}
|
||||
throw new Error(errorMsg);
|
||||
}
|
||||
|
||||
// Notify TaskManager to poll if a task might have been created
|
||||
if (typeof window !== 'undefined' && endpoint !== '/api/tasks' && endpoint !== '/api/auth/refresh') {
|
||||
window.dispatchEvent(new Event('api_activity'));
|
||||
}
|
||||
|
||||
return response;
|
||||
}
|
||||
|
||||
|
|
|
|||
Reference in a new issue