Skip to content

Open-Source API Development Ecosystem • https://hoppscotch.io • Offline, On-Prem & Cloud • Web, Desktop & CLI • Open-Source Alternative to Postman, Insomnia

refactor: stick with the enforced style

jamesgeorge0072b165a065c08
diff --git a/pages/index.vue b/pages/index.vue
index 49412e20d..943780b49 100644
--- a/pages/index.vue
+++ b/pages/index.vue
@@ -1504,8 +1504,11 @@ export default {
this.rawInput = !this.knownContentTypes.includes(val);
},
rawInput(status) {
- if (status && this.rawParams === "") this.rawParams = "{}";
- else this.setRouteQueryState();
+ if (status && this.rawParams === "") {
+ this.rawParams = "{}";
+ } else {
+ this.setRouteQueryState();
+ }
},
"response.body": function(val) {
if (