Fix : export CSV, TSV and XLS translation

Feature : add export CSV with semicolon separator
This commit is contained in:
Ben0it-T 2021-10-03 09:18:02 +02:00
parent bc9c7e5aa4
commit 11bf4c7c07
6 changed files with 115 additions and 112 deletions

View file

@ -49,8 +49,13 @@ runOnServer(function() {
isAdmin: true,
});
}
const exporterExcel = new ExporterExcel(boardId);
let userLanguage = 'en';
if(user && user.profile){
userLanguage = user.profile.language
}
const exporterExcel = new ExporterExcel(boardId, userLanguage);
if (exporterExcel.canExport(user) || impersonateDone) {
if (impersonateDone) {
ImpersonatedUsers.insert({