@@ -324,7 +324,6 @@
})
},
sendRequest() {
- window.localStorage.setItem('history', JSON.stringify(this.history))
if (this.$refs.response.$el.classList.contains('hidden')) {
this.$refs.response.$el.classList.toggle('hidden')
}
@@ -369,6 +368,7 @@
url: this.url,
path: this.path
}, ...this.history]
+ window.localStorage.setItem('history', JSON.stringify(this.history))
}
xhr.onerror = e => {
this.response.status = xhr.status