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'); throw new Error('Error while fetching report');
} }
}).then(text => { }).then(text => {
loaded();
exportTextarea.value = text; exportTextarea.value = text;
exportTextarea.style.height = "auto"; exportTextarea.style.height = "auto";
exportTextarea.style.height = exportTextarea.scrollHeight + "px"; exportTextarea.style.height = exportTextarea.scrollHeight + "px";
loaded();
}).catch(error => { }).catch(error => {
loaded();
exportTextarea.value = 'Error while fetching report'; exportTextarea.value = 'Error while fetching report';
console.error(error); console.error(error);
loaded();
}); });
} }