diff --git a/src/views/DataManagerLogDetails.vue b/src/views/DataManagerLogDetails.vue
index 5d80031d..802062da 100644
--- a/src/views/DataManagerLogDetails.vue
+++ b/src/views/DataManagerLogDetails.vue
@@ -92,10 +92,10 @@
-
+
{{ translate('Failed records') }}
@@ -257,6 +257,19 @@ export default defineComponent ({
} catch (error) {
logger.error(error);
}
+ },
+ getLogStatusColor(statusId) {
+ if (statusId === 'SERVICE_FINISHED') {
+ return 'success';
+ } else if (statusId === 'SERVICE_RUNNING') {
+ return 'dark';
+ } else if (statusId === 'SERVICE_FAILED') {
+ return 'danger';
+ } else if (statusId === 'SERVICE_PENDING') {
+ return 'medium';
+ } else {
+ return 'medium';
+ }
}
},
setup() {