From 8b5e2f459560a37b76381a1ac9eb08cc56cb7007 Mon Sep 17 00:00:00 2001 From: Scott Bell Date: Wed, 11 Dec 2024 11:55:22 +0100 Subject: [PATCH] remove undefined --- src/plugins/events/components/EventTimelineView.vue | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/src/plugins/events/components/EventTimelineView.vue b/src/plugins/events/components/EventTimelineView.vue index 3314e5a143..47de28d5d3 100644 --- a/src/plugins/events/components/EventTimelineView.vue +++ b/src/plugins/events/components/EventTimelineView.vue @@ -51,12 +51,11 @@ export default { this.requestCount = 0; return { - viewBounds: undefined, + viewBounds: null, height: 0, - durationFormatter: undefined, eventHistory: [], timeSystem: timeSystem, - keyString: undefined + overlapping: false }; }, watch: { @@ -115,7 +114,7 @@ export default { firstNonDomainAttribute(metadata) { return metadata .values() - .find((metadatum) => metadatum.hints.domain === undefined && metadatum.key !== 'name'); + .find((metadatum) => !metadatum.hints.domain && metadatum.key !== 'name'); }, stopFollowingTimeContext() { if (this.timeContext) {