Prevent extra loading of plots data (#4120)

This commit is contained in:
Shefali Joshi 2021-08-17 09:51:53 -07:00 committed by GitHub
parent 6dde54bd25
commit 3b92fcdf6c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -323,6 +323,8 @@ export default {
return;
}
this.offsetWidth = this.$parent.$refs.plotWrapper.offsetWidth;
this.startLoading();
const options = {
size: this.$parent.$refs.plotWrapper.offsetWidth,