chore: minor fixes and improvements

This commit is contained in:
liyasthomas
2021-11-14 20:15:24 +05:30
parent f228f37bb8
commit d383b48916
6 changed files with 46 additions and 2 deletions

View File

@@ -174,9 +174,14 @@ export default defineComponent({
icon: "download_for_offline",
duration: 0,
action: [
{
text: `${this.$t("action.dismiss")}`,
onClick: (_, toastObject) => {
toastObject.goAway(0)
},
},
{
text: `${this.$t("app.reload")}`,
class: "!ml-auto",
onClick: (_, toastObject) => {
toastObject.goAway(0)
window.location.reload()