fixed text removed

This commit is contained in:
2023-06-12 18:08:05 +02:00
parent d171a218eb
commit ff26792e2f

View File

@@ -35,13 +35,13 @@ function exportReport() {
throw new Error('Error while fetching report');
}
}).then(text => {
loaded();
exportTextarea.value = text;
exportTextarea.style.height = "auto";
exportTextarea.style.height = exportTextarea.scrollHeight + "px";
loaded();
}).catch(error => {
loaded();
exportTextarea.value = 'Error while fetching report';
console.error(error);
loaded();
});
}