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

@@ -31,14 +31,13 @@ export default Vue.extend({
async logout() {
try {
await signOutUser()
this.$toast.info(this.$t("auth.logged_out").toString(), {
this.$toast.success(this.$t("auth.logged_out").toString(), {
icon: "vpn_key",
})
} catch (e) {
console.error(e)
this.$toast.error(this.$t("error.something_went_wrong").toString(), {
icon: "error",
icon: "error_outline",
})
}
},