/
dimamir
/
coolify
Обзор
Документация
Войти
/
dimamir
/
coolify
Код
Запросы
0
Задачи
Вики
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
app/Livewire/Project/Shared/ConfigurationChecker.php
39 строк
1 KB
Thijmen
Fix styling
10 июн 2024, 23:43
10 июн 2024, 23:43
d86274c
Код
Авторство
О чём код?
<?php namespace App\Livewire\Project\Shared; use App\Models\Application; use App\Models\Service; use App\Models\StandaloneClickhouse; use App\Models\StandaloneDragonfly; use App\Models\StandaloneKeydb; use App\Models\StandaloneMariadb; use App\Models\StandaloneMongodb; use App\Models\StandaloneMysql; use App\Models\StandalonePostgresql; use App\Models\StandaloneRedis; use Livewire\Component; class ConfigurationChecker extends Component { public bool $isConfigurationChanged = false; public Application|Service|StandaloneRedis|StandalonePostgresql|StandaloneMongodb|StandaloneMysql|StandaloneMariadb|StandaloneKeydb|StandaloneDragonfly|StandaloneClickhouse $resource; protected $listeners = ['configurationChanged']; public function mount() { $this->configurationChanged(); } public function render() { return view('livewire.project.shared.configuration-checker'); } public function configurationChanged() { $this->isConfigurationChanged = $this->resource->isConfigurationChanged(); } }