refactor: updated svg icon assets

This commit is contained in:
liyasthomas
2021-09-03 11:27:11 +05:30
parent 94fcc0a6a9
commit 28d20a9c61
97 changed files with 352 additions and 100 deletions

View File

@@ -88,7 +88,7 @@ export default defineComponent({
setup() {
return {
rawParamsBody: pluckRef(useRESTRequestBody(), "body"),
prettifyIcon: "sparkles",
prettifyIcon: "align-left",
}
},
computed: {
@@ -123,7 +123,7 @@ export default defineComponent({
const jsonObj = JSON.parse(this.rawParamsBody)
this.rawParamsBody = JSON.stringify(jsonObj, null, 2)
this.prettifyIcon = "check"
setTimeout(() => (this.prettifyIcon = "sparkles"), 1000)
setTimeout(() => (this.prettifyIcon = "align-left"), 1000)
} catch (e) {
console.error(e)
this.$toast.error(`${this.$t("error.json_prettify_invalid_body")}`, {