Vincent GUFFON 3 سال پیش
والد
کامیت
85e59d334f
1فایلهای تغییر یافته به همراه3 افزوده شده و 3 حذف شده
  1. 3 3
      components/Layout/Header/Notification.vue

+ 3 - 3
components/Layout/Header/Notification.vue

@@ -13,8 +13,8 @@
             <v-badge
               color="orange"
               offset-y="10"
-              :value="unreadNotification().length > 0"
-              :content="unreadNotification().length"
+              :value="unreadNotification.length > 0"
+              :content="unreadNotification.length"
             >
               <v-icon class="ot_white--text" small>
                 fa-bell
@@ -240,7 +240,7 @@ export default defineComponent({
       loading,
       notifications,
       update,
-      unreadNotification: () => unreadNotification,
+      unreadNotification,
       isOpen,
       download
     }