refactor(ui): minor ui improvements

This commit is contained in:
liyasthomas
2021-08-20 15:08:54 +05:30
parent a121445b1e
commit 7082eb27db
63 changed files with 296 additions and 305 deletions

View File

@@ -97,7 +97,7 @@ export default {
a.click()
this.downloadIcon = "done"
this.$toast.success(this.$t("state.download_started"), {
icon: "done",
icon: "downloading",
})
setTimeout(() => {
document.body.removeChild(a)
@@ -109,7 +109,7 @@ export default {
copyToClipboard(this.responseBodyText)
this.copyIcon = "done"
this.$toast.success(this.$t("state.copied_to_clipboard"), {
icon: "done",
icon: "content_paste",
})
setTimeout(() => (this.copyIcon = "content_copy"), 1000)
},

View File

@@ -102,7 +102,7 @@ export default {
a.click()
this.downloadIcon = "done"
this.$toast.success(this.$t("state.download_started"), {
icon: "done",
icon: "downloading",
})
setTimeout(() => {
document.body.removeChild(a)

View File

@@ -101,7 +101,7 @@ export default {
a.click()
this.downloadIcon = "done"
this.$toast.success(this.$t("state.download_started"), {
icon: "done",
icon: "downloading",
})
setTimeout(() => {
document.body.removeChild(a)
@@ -113,7 +113,7 @@ export default {
copyToClipboard(this.responseBodyText)
this.copyIcon = "done"
this.$toast.success(this.$t("state.copied_to_clipboard"), {
icon: "done",
icon: "content_paste",
})
setTimeout(() => (this.copyIcon = "content_copy"), 1000)
},

View File

@@ -93,7 +93,7 @@ export default {
a.click()
this.downloadIcon = "done"
this.$toast.success(this.$t("state.download_started"), {
icon: "done",
icon: "downloading",
})
setTimeout(() => {
document.body.removeChild(a)
@@ -105,7 +105,7 @@ export default {
copyToClipboard(this.responseBodyText)
this.copyIcon = "done"
this.$toast.success(this.$t("state.copied_to_clipboard"), {
icon: "done",
icon: "content_paste",
})
setTimeout(() => (this.copyIcon = "content_copy"), 1000)
},

View File

@@ -92,7 +92,7 @@ export default {
a.click()
this.downloadIcon = "done"
this.$toast.success(this.$t("state.download_started"), {
icon: "done",
icon: "downloading",
})
setTimeout(() => {
document.body.removeChild(a)
@@ -104,7 +104,7 @@ export default {
copyToClipboard(this.responseBodyText)
this.copyIcon = "done"
this.$toast.success(this.$t("state.copied_to_clipboard"), {
icon: "done",
icon: "content_paste",
})
setTimeout(() => (this.copyIcon = "content_copy"), 1000)
},