Skip to content

Commit

Permalink
Merge branch 'release'
Browse files Browse the repository at this point in the history
  • Loading branch information
NicolasRichel committed Jan 7, 2025
2 parents 5b0efb6 + fa5b2b4 commit afb63fa
Show file tree
Hide file tree
Showing 8 changed files with 34 additions and 11 deletions.
11 changes: 11 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@
"@semantic-release/git": "^10.0.1",
"@vitejs/plugin-vue": "^5.2.1",
"babel-jest": "^29.7.0",
"conventional-changelog-eslint": "^6.0.0",
"cypress": "^13.16.0",
"eslint": "^9.15.0",
"eslint-config-prettier": "^9.1.0",
Expand Down
1 change: 1 addition & 0 deletions release.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
* @type {import('semantic-release').GlobalConfig}
*/
export default {
preset: "eslint",
plugins: [
[
"@semantic-release/commit-analyzer",
Expand Down
2 changes: 1 addition & 1 deletion src/components/specific/models/models-card/ModelsCard.vue
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ watch(
}
}"
>
<BIMDataButton color="primary" fill radius>
<BIMDataButton color="primary" fill radius :disabled="currentModel.status !== 'C'">
<BIMDataIconShow size="xs" margin="0 6px 0 0" />
<span>{{ $t("t.open") }}</span>
</BIMDataButton>
Expand Down
5 changes: 4 additions & 1 deletion src/i18n/lang/de.json
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,10 @@
"createModelNotification": "Vorlage erfolgreich erstellt",
"structureImport": "Eine GED-Struktur importieren",
"gedDownload": "EDM herunterladen",
"folderImport": "Einen Ordner importieren"
"folderImport": "Einen Ordner importieren",
"foldersTab": "Ordner",
"filesTab": "Dateien",
"visasTab": "Meine Visum"
},
"FilesManagerOnboarding": {
"text": "Erste Datei hochladen",
Expand Down
5 changes: 4 additions & 1 deletion src/i18n/lang/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,10 @@
"createModelNotification": "Model successfully created",
"structureImport": "Import a GED structure",
"gedDownload": "Download the GED",
"folderImport": "Import a folder"
"folderImport": "Import a folder",
"foldersTab": "Folders",
"filesTab": "Documents",
"visasTab": "Visas"
},
"FilesManagerOnboarding": {
"text": "Upload your first file",
Expand Down
5 changes: 4 additions & 1 deletion src/i18n/lang/es.json
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,10 @@
"createModelNotification": "Modelo creado con éxito",
"structureImport": "Importar una estructura EDM",
"gedDownload": "Descargar el EDM",
"folderImport": "Importar una carpeta"
"folderImport": "Importar una carpeta",
"foldersTab": "Archivos",
"filesTab": "Documentos",
"visasTab": "Confirmaciones"
},
"FilesManagerOnboarding": {
"text": "Suba su primer archivo",
Expand Down
15 changes: 8 additions & 7 deletions src/services/FileService.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import eachLimit from "async/eachLimit";
import { FILE_TYPE } from "../config/files.js";
import { download } from "../utils/download.js";
import { segregate } from "../utils/file-structure.js";
Expand Down Expand Up @@ -143,13 +144,13 @@ class FileService {

async deleteDocuments(project, documents) {
try {
return await Promise.all(
documents.map(document =>
apiClient.collaborationApi.deleteAllDocumentHistory(
project.cloud.id,
document.id,
project.id
)
return await eachLimit(
documents,
5,
document => apiClient.collaborationApi.deleteAllDocumentHistory(
project.cloud.id,
document.id,
project.id
)
);
} catch (error) {
Expand Down

0 comments on commit afb63fa

Please sign in to comment.