F
Filament14mo ago
arul

how to poll 5s badge Navigation

public static function getNavigationBadge(): ?string {
return $countUnique = BrgMasuk::where('status', 0)->distinct('uuid')->count('uuid'); } I want to poll realtime 5 s ? how make poll in Badge
4 Replies
bwurtz999
bwurtz99914mo ago
Looks like this is not currently possible (https://github.com/filamentphp/filament/discussions/7221)
GitHub
refresh navigation badge · filamentphp filament · Discussion #7221
Table polling works fine, but how can I update the corresponding navigation badge so that they are in sync?
bwurtz999
bwurtz99914mo ago
If you need real-time updates, you could use database notifications
arul
arulOP14mo ago
Thank, s
Want results from more Discord servers?
Add your server