updated setting url finding

This commit is contained in:
Giga Chubinidze 2024-01-16 13:34:06 +04:00
parent b46f0f8d4b
commit 21a9d0c691

View file

@ -36,7 +36,7 @@
<NotificationsFlyout
v-if="notificationsOpened"
:notificationsUrl="notificationsUrl"
:preferencesUrl="this.userMenu[1].url"
:preferencesUrl="this.userMenu.find((item) => item.name === i18n.t('users.settings.sidebar.account_nav.preferences'))?.url"
:unseenNotificationsCount="unseenNotificationsCount"
@update:unseenNotificationsCount="checkUnseenNotifications()"
@close="notificationsOpened = false" />