Skip to content

Commit

Permalink
chore: disabled load more button when no notifications
Browse files Browse the repository at this point in the history
  • Loading branch information
EwoutV committed May 23, 2024
1 parent 7cc58dc commit dfa736b
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@ function toggleNotificationOverlay(event: Event): void {
<div class="flex align-items-center gap-2 mt-4">
<Button
:label="t('layout.header.notifications.loadMore')"
:disabled="notificationCount === 0"
@click="notificationCount += notificationCount"
link
/>
Expand Down

0 comments on commit dfa736b

Please sign in to comment.