diff --git a/package.json b/package.json index d2b16be8d..104d68d19 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..7ecd7a5ba 100644 --- a/src/components/EditorToolBar.vue +++ b/src/components/EditorToolBar.vue @@ -164,6 +164,9 @@ export default { }, }, }, + beforeDestroy() { + this.clear() + }, methods: { ...mapMutations({ undo: EDITOR_UNDO, diff --git a/src/components/steps/Loading.vue b/src/components/steps/Loading.vue index 40ef9cc0c..43421b77e 100644 --- a/src/components/steps/Loading.vue +++ b/src/components/steps/Loading.vue @@ -9,10 +9,10 @@