UI: Cast number of messages to string

pull/5046/head
Angel Fernando Quiroz Campos 2 years ago
parent 17ea37f6a3
commit ae4bef4c89
  1. 4
      assets/vue/components/layout/TopbarLoggedIn.vue

@ -124,7 +124,9 @@ function toogleUserMenu(event) {
const headerLogo = headerLogoPath
const btnInboxBadge = computed(() => (messageRelUserStore.countUnread > 9 ? "9+" : messageRelUserStore.countUnread))
const btnInboxBadge = computed(() =>
messageRelUserStore.countUnread > 9 ? "9+" : messageRelUserStore.countUnread.toString(),
)
messageRelUserStore.findUnreadCount().catch((e) => notification.showErrorNotification(e))
</script>

Loading…
Cancel
Save