mirror of
https://github.com/nasa/openmct.git
synced 2024-12-19 13:17:53 +00:00
Removed requestHistory call from mount and clearData method (#5223)
Co-authored-by: Nikhil <nikhil.k.mandlik@nasa.gov>
This commit is contained in:
parent
9c8ee09960
commit
8d577a8958
@ -46,7 +46,6 @@ export default {
|
|||||||
|
|
||||||
// kickoff
|
// kickoff
|
||||||
this.subscribe();
|
this.subscribe();
|
||||||
this.requestHistory();
|
|
||||||
},
|
},
|
||||||
beforeDestroy() {
|
beforeDestroy() {
|
||||||
if (this.unsubscribe) {
|
if (this.unsubscribe) {
|
||||||
@ -169,8 +168,6 @@ export default {
|
|||||||
// splice array to encourage garbage collection
|
// splice array to encourage garbage collection
|
||||||
this.imageHistory.splice(0, this.imageHistory.length);
|
this.imageHistory.splice(0, this.imageHistory.length);
|
||||||
|
|
||||||
// requesting history effectively clears imageHistory array
|
|
||||||
return this.requestHistory();
|
|
||||||
},
|
},
|
||||||
timeSystemChange() {
|
timeSystemChange() {
|
||||||
this.timeSystem = this.timeContext.timeSystem();
|
this.timeSystem = this.timeContext.timeSystem();
|
||||||
|
Loading…
Reference in New Issue
Block a user