mirror of
https://github.com/tiennm99/coolify.git
synced 2026-08-20 12:23:48 +00:00
Improve project resource UIs: sort domains by DNS failure, stop re-adding www pairs on refresh, lazy-load storage tabs with counts, tighten env-var tables, keep application tabs active across Livewire polls, unify database type labels, and update related CSS/JS and tests.
36 lines
758 B
PHP
36 lines
758 B
PHP
<?php
|
|
|
|
namespace App\Livewire\Project\Shared\EnvironmentVariable;
|
|
|
|
use Livewire\Component;
|
|
|
|
class ShowHardcoded extends Component
|
|
{
|
|
public bool $showEnvironmentType = true;
|
|
|
|
public array $env;
|
|
|
|
public string $key;
|
|
|
|
public ?string $value = null;
|
|
|
|
public ?string $comment = null;
|
|
|
|
public ?string $serviceName = null;
|
|
|
|
public bool $isPreview = false;
|
|
|
|
public function mount()
|
|
{
|
|
$this->key = $this->env['key'];
|
|
$this->value = $this->env['value'] ?? null;
|
|
$this->comment = $this->env['comment'] ?? null;
|
|
$this->serviceName = $this->env['service_name'] ?? null;
|
|
}
|
|
|
|
public function render()
|
|
{
|
|
return view('livewire.project.shared.environment-variable.show-hardcoded');
|
|
}
|
|
}
|