Add Support ticket badge

This commit is contained in:
Ralph J. Smit
2022-08-08 10:19:49 +02:00
parent e601222b4f
commit 751449de5e

View File

@@ -29,6 +29,11 @@ class SupportTicketResource extends Resource
return (bool) setting('support');
}
protected static function getNavigationBadge(): ?string
{
return static::getEloquentQuery()->count();
}
public static function form(Form $form): Form
{
return $form