From 45b03d8472e5806babbe9417f49849d8c6f40325 Mon Sep 17 00:00:00 2001 From: Alireza Ahmadi Date: Thu, 13 Jun 2024 20:17:27 +0200 Subject: [PATCH] move notification to bottom --- frontend/src/components/message.vue | 2 +- frontend/src/main.ts | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/frontend/src/components/message.vue b/frontend/src/components/message.vue index 33c0db4..968ef94 100644 --- a/frontend/src/components/message.vue +++ b/frontend/src/components/message.vue @@ -26,7 +26,7 @@ const theme = computed(() =>{ }) const direction = computed(() => { - return vuetify.locale.current.value == 'fa' ? 'rtl' : 'ltr' + return vuetify.locale.isRtl ? 'rtl' : 'ltr' }) diff --git a/frontend/src/main.ts b/frontend/src/main.ts index b96eaa7..9af2edb 100644 --- a/frontend/src/main.ts +++ b/frontend/src/main.ts @@ -28,10 +28,10 @@ import { createNotivue } from 'notivue' import 'notivue/notification.css' import 'notivue/animations.css' const notivue = createNotivue({ - position: 'top-center', + position: 'bottom-center', limit: 4, enqueue: false, - avoidDuplicates: false, + avoidDuplicates: true, notifications: { global: { duration: 3000