diff --git a/server/router/projects/index.js b/server/router/projects/index.js index 899bde5..af41882 100644 --- a/server/router/projects/index.js +++ b/server/router/projects/index.js @@ -1004,7 +1004,7 @@ module.exports = function (options) { const cellHeight = 25 translationChapters.sort((a, b) => a.index - b.index).forEach((translationChapter, index) => { - const worksheet_name = `${index+1}-${translationChapter.translationArtifactVersion.dialect.countryId}-${translationChapter.translationArtifactVersion.dialect.languageId} - ${translationArtifactVersion.artifactVersion.artifact.name}`.substring(0, 30); + const worksheet_name = `${index+1}-${translationChapter.translationArtifactVersion.dialect.countryId}-${translationChapter.translationArtifactVersion.dialect.languageId} - ${translationChapter.translationArtifactVersion.artifactVersion.artifact.name}`.substring(0, 30); // Don't have [ ] * ? : / \ const worksheet = workbook.addWorksheet(worksheet_name.replace(/[`*?:'\[\]\\\/]/gi, ""))