diff --git a/src/views/DataManagerLogDetails.vue b/src/views/DataManagerLogDetails.vue index 1cc43044..7810aeed 100644 --- a/src/views/DataManagerLogDetails.vue +++ b/src/views/DataManagerLogDetails.vue @@ -92,10 +92,12 @@

{{ translate('Finished') }}

- {{ translate(getStatusDesc(log.statusId)) }} + {{ translate(getStatusDesc(log.statusId)) }} -
- +
+ + +

{{ translate('Failed records') }}

@@ -257,6 +259,17 @@ 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 { + return 'medium'; + } } }, setup() {