fixed sort
This commit is contained in:
parent
4e252e3951
commit
fff8f0fc35
@ -55,7 +55,7 @@ export function convertFiles(files: FileList | File[], dossier: DossierWrapper):
|
||||
file.file.name.toLowerCase().endsWith('.zip') ||
|
||||
isCsv(file)
|
||||
);
|
||||
uploadFiles.sort((a, b) => b.size - b.size);
|
||||
uploadFiles.sort(a => (isCsv(a) ? 1 : -1));
|
||||
uploadFiles.sort((a, b) => a.size - b.size);
|
||||
uploadFiles.sort(a => (isCsv(a) ? 1 : 0));
|
||||
return uploadFiles;
|
||||
}
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
{
|
||||
"OAUTH_URL": "https://dom1.iqser.cloud/auth/realms/redaction",
|
||||
"API_URL": "https://dom1.iqser.cloud/redaction-gateway-v1",
|
||||
"OAUTH_URL": "https://red-staging.iqser.cloud/auth/realms/redaction",
|
||||
"API_URL": "https://red-staging.iqser.cloud/redaction-gateway-v1",
|
||||
"OAUTH_CLIENT_ID": "redaction",
|
||||
"BACKEND_APP_VERSION": "4.4.40",
|
||||
"FRONTEND_APP_VERSION": "1.1",
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user