diff --git a/backend/swagger.yaml b/backend/swagger.yaml index 60d47428d..3c5336873 100644 --- a/backend/swagger.yaml +++ b/backend/swagger.yaml @@ -1,6 +1,6 @@ swagger: "2.0" info: - version: 0.24.1 + version: 0.24.2 title: DebiAI_BACKEND_API description: DebiAI backend api contact: diff --git a/frontend/package-lock.json b/frontend/package-lock.json index 62e8c7278..24f6ddddb 100644 --- a/frontend/package-lock.json +++ b/frontend/package-lock.json @@ -1,12 +1,12 @@ { "name": "debiai_frontend", - "version": "0.24.1", + "version": "0.24.2", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "debiai_frontend", - "version": "0.24.1", + "version": "0.24.2", "license": "Apache-2.0", "dependencies": { "axios": "^0.21.4", diff --git a/frontend/package.json b/frontend/package.json index b08f9a72b..8bd63b800 100644 --- a/frontend/package.json +++ b/frontend/package.json @@ -1,6 +1,6 @@ { "name": "debiai_frontend", - "version": "0.24.1", + "version": "0.24.2", "description": "Frontend for Debiai, made with Vuejs", "license": "Apache-2.0", "scripts": { diff --git a/frontend/src/services/dataLoader.js b/frontend/src/services/dataLoader.js index f04db389c..a1bcb4ae5 100644 --- a/frontend/src/services/dataLoader.js +++ b/frontend/src/services/dataLoader.js @@ -98,8 +98,9 @@ async function getProjectSamplesIdList( // If the project is small, we gather all ID at once // If we are analyzing selections or models, we don't split the request (not implemented yet) if ( - projectNbSamples !== null && - (projectNbSamples <= accepteSize || selectionIds.length > 0 || modelIds.length > 0) + (projectNbSamples !== null && projectNbSamples <= accepteSize) || + selectionIds.length > 0 || + modelIds.length > 0 ) { // At the moment, we gather all ID when we deal with selections and models // If we have a small project, we gather all ID @@ -113,7 +114,7 @@ async function getProjectSamplesIdList( }); return res.samples; } else if (projectNbSamples === null) { - // If we don't kwow the number of samples, we gather all ID by chunks + // If we don't know the number of samples, we gather all ID by chunks // We stop when we get less samples than the chunk size let samplesIdList = []; let i = 0;