log file not plural

This commit is contained in:
2023-02-03 20:13:50 +10:00
parent 4367fa4440
commit e40a2bad16

View File

@@ -56,7 +56,7 @@ const loadData = async () => {
logOutputContent.value = "Log file is empty";
}
logErrorContent.value = res.data.log.errors;
logErrorContent.value = res.data.log.error;
if (logErrorContent.value.length === 0) {
logErrorContent.value = "Log file is empty";
}