mirror of
https://github.com/nasa/openmct.git
synced 2024-12-20 05:37:53 +00:00
remove undefined
This commit is contained in:
parent
5b006b69b7
commit
8b5e2f4595
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user