Format date and time in event log tables
- Adds line break to format date and time in Event Logs
and Overview event log table
Signed-off-by: Dixsie Wolmers <dixsie@ibm.com>
Change-Id: Ib277a88b80115753bc74dc6dd21bf6a49eef101f
diff --git a/src/views/Health/EventLogs/EventLogs.vue b/src/views/Health/EventLogs/EventLogs.vue
index 810eddd..256a238 100644
--- a/src/views/Health/EventLogs/EventLogs.vue
+++ b/src/views/Health/EventLogs/EventLogs.vue
@@ -83,7 +83,8 @@
<!-- Date column -->
<template v-slot:cell(date)="{ value }">
- {{ value | formatDate }} {{ value | formatTime }}
+ <p class="mb-0">{{ value | formatDate }}</p>
+ <p class="mb-0">{{ value | formatTime }}</p>
</template>
<!-- Actions column -->
diff --git a/src/views/Overview/OverviewEvents.vue b/src/views/Overview/OverviewEvents.vue
index 391fb05..d96657a 100644
--- a/src/views/Overview/OverviewEvents.vue
+++ b/src/views/Overview/OverviewEvents.vue
@@ -23,7 +23,8 @@
{{ value }}
</template>
<template v-slot:cell(date)="{ value }">
- {{ value | formatDate }} {{ value | formatTime }}
+ <p class="mb-0">{{ value | formatDate }}</p>
+ <p class="mb-0">{{ value | formatTime }}</p>
</template>
</b-table>
</div>