Skip to content

Commit

Permalink
fix(NotificationsTableEmpty): fetch dashboard names on initialization
Browse files Browse the repository at this point in the history
See: BEDS-609
  • Loading branch information
marcel-bitfly committed Oct 21, 2024
1 parent 7d40e41 commit 4eb31ff
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions frontend/components/notifications/NotificationsTableEmpty.vue
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,12 @@ const handleClick = () => {
const { isLoggedIn } = useUserStore()
const {
dashboards,
refreshDashboards,
} = useUserDashboardStore()
if (!dashboards.value) {
refreshDashboards()
}
const hasDashboards = computed(() => {
return (
dashboards.value?.account_dashboards?.length
Expand Down

0 comments on commit 4eb31ff

Please sign in to comment.