Fan преди 1 седмица
родител
ревизия
beb06ff57e
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  1. 1 1
      ui/smarttrade-platform/src/components/layout/TopBar.vue

+ 1 - 1
ui/smarttrade-platform/src/components/layout/TopBar.vue

@@ -825,7 +825,7 @@ const notificationTabs = ref([])
 
 
 const filteredNotifications = computed(() => {
 const filteredNotifications = computed(() => {
   if (activeTab.value === 'all') return notifications.value
   if (activeTab.value === 'all') return notifications.value
-  return notifications.value.filter(n => n.type === activeTab.value)
+  return notifications.value.filter(n => n.messageType === activeTab.value)
 })
 })
 
 
 // Methods
 // Methods