diff --git a/package.json b/package.json index 598a34b28..de3173d66 100644 --- a/package.json +++ b/package.json @@ -63,7 +63,8 @@ "vue-observe-visibility": "^0.4.6", "vue-router": "^3.0.3", "vuex": "^3.0.1", - "witnet-radon-js": "0.8.4" + "witnet-radon-js": "0.8.4", + "witnet-requests": "git+https://github.com/witnet/witnet-requests-js" }, "devDependencies": { "@babel/compat-data": "7.9.0", diff --git a/src/components/EditorToolBar.vue b/src/components/EditorToolBar.vue index ec2861327..ce0bff3fb 100644 --- a/src/components/EditorToolBar.vue +++ b/src/components/EditorToolBar.vue @@ -156,14 +156,17 @@ export default { : 'data_request.js' }, autoTryDataRequest: { - set() { - this.toggleTryDataRequest() - }, get() { return this.autoTry }, + set() { + this.toggleTryDataRequest() + }, }, }, + beforeDestroy() { + this.clear() + }, methods: { ...mapMutations({ undo: EDITOR_UNDO, diff --git a/src/components/steps/Loading.vue b/src/components/steps/Loading.vue index 40ef9cc0c..8dbe61f11 100644 --- a/src/components/steps/Loading.vue +++ b/src/components/steps/Loading.vue @@ -9,7 +9,7 @@