Add Health status to app header
Added logging path and interface to websocket subscription
data filter, to dynamically indicate Health status in the
app header.
- Update OverviewEvents to use highPriorityEvents data
- Refactor EventLogStore
Signed-off-by: Yoshie Muranaka <yoshiemuranaka@gmail.com>
Change-Id: I35ad30b005c70625a5f6a69488d45db0fa049374
diff --git a/src/views/Overview/OverviewEvents.vue b/src/views/Overview/OverviewEvents.vue
index 5820e61..d15e158 100644
--- a/src/views/Overview/OverviewEvents.vue
+++ b/src/views/Overview/OverviewEvents.vue
@@ -13,7 +13,7 @@
<p class="mb-1">{{ logData.eventID }}: {{ logData.description }}</p>
</b-list-group-item>
</b-list-group>
- <b-list-group v-if="!eventLogData">
+ <b-list-group v-if="eventLogData.length === 0">
There are no high priority events to display at this time.
</b-list-group>
</div>
@@ -28,7 +28,7 @@
},
computed: {
eventLogData() {
- return this.$store.getters['eventLog/eventLogData'];
+ return this.$store.getters['eventLog/highPriorityEvents'];
}
},
created() {