refactor(graphql): replace instances of var with const
This commit is contained in:
@@ -59,7 +59,7 @@
|
|||||||
@change="
|
@change="
|
||||||
$store.commit('setGQLHeaderKey', {
|
$store.commit('setGQLHeaderKey', {
|
||||||
index,
|
index,
|
||||||
value: $event.target.value
|
value: $event.target.value
|
||||||
})
|
})
|
||||||
"
|
"
|
||||||
autofocus
|
autofocus
|
||||||
@@ -424,9 +424,9 @@ export default {
|
|||||||
this.responseBodyMaxLines = (this.responseBodyMaxLines == Infinity) ? 16 : Infinity;
|
this.responseBodyMaxLines = (this.responseBodyMaxLines == Infinity) ? 16 : Infinity;
|
||||||
},
|
},
|
||||||
downloadResponse() {
|
downloadResponse() {
|
||||||
var dataToWrite = JSON.stringify(this.schemaString, null, 2)
|
const dataToWrite = JSON.stringify(this.schemaString, null, 2)
|
||||||
var file = new Blob([dataToWrite], { type: "application/json" });
|
const file = new Blob([dataToWrite], { type: "application/json" });
|
||||||
var a = document.createElement("a"),
|
const a = document.createElement("a"),
|
||||||
url = URL.createObjectURL(file);
|
url = URL.createObjectURL(file);
|
||||||
a.href = url;
|
a.href = url;
|
||||||
a.download = (
|
a.download = (
|
||||||
|
|||||||
Reference in New Issue
Block a user