Removed requestHistory call from mount and clearData method (#5223)

Co-authored-by: Nikhil <nikhil.k.mandlik@nasa.gov>
This commit is contained in:
Michael Rogers 2022-05-19 15:07:20 -05:00 committed by GitHub
parent 9c8ee09960
commit 8d577a8958
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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();