fix: download and upload files (#223)

* fix: download for unknown mime types
* fix: async process two files from the queue
* refactor: upload functions
This commit is contained in:
Bálint Ujvári
2026-03-12 15:19:53 +01:00
parent 76bf2211ca
commit e8e01c054a
5 changed files with 223 additions and 129 deletions
+3 -6
View File
@@ -186,12 +186,9 @@ export function FileManagerPage(): ReactElement {
}, [])
useEffect(() => {
if (status.all !== CheckState.OK) {
setShowConnectionError(true)
} else {
setShowConnectionError(false)
}
}, [status.all])
const isApiError = status.apiConnection.checkState !== CheckState.OK || !status.apiConnection.isEnabled
setShowConnectionError(isApiError)
}, [status.apiConnection])
useEffect(() => {
if (!beeApi) {