refactor(dashboard): remove deployment loading logic and introduce DeploymentsIndicator component for better UI management

This commit is contained in:
Andras Bacsai
2025-09-30 11:43:30 +02:00
parent db2d44ca1f
commit a03c1b3b4b
11 changed files with 150 additions and 94 deletions

View File

@@ -73,7 +73,7 @@ class PreviewsCompose extends Component
$host = $url->getHost();
$schema = $url->getScheme();
$portInt = $url->getPort();
$port = $portInt !== null ? ':' . $portInt : '';
$port = $portInt !== null ? ':'.$portInt : '';
$random = new Cuid2;
$preview_fqdn = str_replace('{{random}}', $random, $template);
$preview_fqdn = str_replace('{{domain}}', $host, $preview_fqdn);