feat: refactor modal component

This commit is contained in:
liyasthomas
2021-07-28 01:08:11 +05:30
parent 78fccc8583
commit 1a4d3dc91a
8 changed files with 81 additions and 100 deletions

View File

@@ -1177,7 +1177,7 @@ export default defineComponent({
this.$refs.queryEditor.setValidationSchema(schema)
this.$nuxt.$loading.finish()
const duration = Date.now() - startTime
this.$toast.info(this.$t("finished_in", { duration }), {
this.$toast.success(this.$t("finished_in", { duration }), {
icon: "done",
})
} catch (error) {