Fix SSE listeners type cast, replace Blade tab component with Alpine.js tabs in DjModeration, use wire:confirm instead of onclick

This commit is contained in:
root
2026-05-24 14:15:44 +02:00
parent 0c6c558a59
commit 261a5e63c6
27 changed files with 142 additions and 136 deletions
View File
View File
View File
View File
View File
View File
View File
View File
View File
+1 -1
View File
@@ -134,7 +134,7 @@ class SseController extends Controller
private function getListeners(): int
{
return Cache::remember('radio_listeners', 30, function () {
return (int) Cache::remember('radio_listeners', 30, function () {
$apiUrl = $this->getSetting(RadioSettings::ListenersEnabled)
? ($this->getSetting(RadioSettings::ListenersApiUrl) ?: $this->getAzureCastApiUrl())
: null;
View File
Regular → Executable
View File
Regular → Executable
View File
Regular → Executable
View File