refactor: stick with the enforced style

This commit is contained in:
jamesgeorge007
2020-02-01 22:26:31 +05:30
parent 12b7e22c31
commit 2b165a065c

View File

@@ -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 (