mirror of
https://github.com/nasa/openmct.git
synced 2025-05-31 06:31:04 +00:00
remove undefined
This commit is contained in:
parent
5b006b69b7
commit
8b5e2f4595
@ -51,12 +51,11 @@ export default {
|
|||||||
this.requestCount = 0;
|
this.requestCount = 0;
|
||||||
|
|
||||||
return {
|
return {
|
||||||
viewBounds: undefined,
|
viewBounds: null,
|
||||||
height: 0,
|
height: 0,
|
||||||
durationFormatter: undefined,
|
|
||||||
eventHistory: [],
|
eventHistory: [],
|
||||||
timeSystem: timeSystem,
|
timeSystem: timeSystem,
|
||||||
keyString: undefined
|
overlapping: false
|
||||||
};
|
};
|
||||||
},
|
},
|
||||||
watch: {
|
watch: {
|
||||||
@ -115,7 +114,7 @@ export default {
|
|||||||
firstNonDomainAttribute(metadata) {
|
firstNonDomainAttribute(metadata) {
|
||||||
return metadata
|
return metadata
|
||||||
.values()
|
.values()
|
||||||
.find((metadatum) => metadatum.hints.domain === undefined && metadatum.key !== 'name');
|
.find((metadatum) => !metadatum.hints.domain && metadatum.key !== 'name');
|
||||||
},
|
},
|
||||||
stopFollowingTimeContext() {
|
stopFollowingTimeContext() {
|
||||||
if (this.timeContext) {
|
if (this.timeContext) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user