Open-Source API Development Ecosystem • https://hoppscotch.io • Offline, On-Prem & Cloud • Web, Desktop & CLI • Open-Source Alternative to Postman, Insomnia
TypeScript apiapi-clientapi-restapi-testingdeveloper-toolsgraphqlhttphttp-clientpwarestrest-apispatestingtesting-toolstoolsvuevuejswebsocket
:bug: Fixed clear button on variables list
Liyas Thomas56a4ca0e214b
diff --git a/components/history.vue b/components/history.vueindex 0d64fc4a8..2b1acbfac 100644--- a/components/history.vue+++ b/components/history.vue@@ -233,7 +233,7 @@</v-popover></div><div class="flex-wrap" v-else>- <label for="clear-history-button">Are you sure?</label>+ <label for="clear-history-button" class="info">Are you sure?</label><div><buttonclass="icon"diff --git a/pages/graphql.vue b/pages/graphql.vueindex efc37e300..f6c201d94 100644--- a/pages/graphql.vue+++ b/pages/graphql.vue@@ -190,7 +190,7 @@<div><buttonclass="icon"- @click="headers = []"+ @click="variables = []"v-tooltip.bottom="'Clear'"><i class="material-icons">clear_all</i>@@ -210,7 +210,7 @@})"autofocus- />+ /></li><li><input@@ -228,10 +228,7 @@</li><div><li>- <button- class="icon"- @click="removeQueryVariable(index)"- >+ <button class="icon" @click="removeQueryVariable(index)"><i class="material-icons">delete</i></button></li>@@ -855,7 +852,7 @@ export default {}}});- console.log(oldHeaders);+ // console.log(oldHeaders);},addQueryVariable(index) {this.$store.commit("addGQLVariable", {@@ -879,7 +876,7 @@ export default {}}});- console.log(oldVariables);+ // console.log(oldVariables);},scrollInto(view) {this.$refs[view].$el.scrollIntoView({