Revert "rector: arrrrr"

This reverts commit 16c0cd10d8.
This commit is contained in:
Andras Bacsai
2025-01-07 15:31:43 +01:00
parent da07b4fdcf
commit 1fe4dd722b
349 changed files with 3689 additions and 4184 deletions

View File

@@ -36,7 +36,7 @@ class Input extends Component
$this->name = $this->id;
}
if ($this->type === 'password') {
$this->defaultClass .= ' pr-[2.8rem]';
$this->defaultClass = $this->defaultClass.' pr-[2.8rem]';
}
// $this->label = Str::title($this->label);

View File

@@ -33,7 +33,11 @@ class Links extends Component
if ($application->ports) {
$portsCollection = collect(str($application->ports)->explode(','));
$portsCollection->map(function ($port) {
$hostPort = str($port)->contains(':') ? str($port)->before(':') : $port;
if (str($port)->contains(':')) {
$hostPort = str($port)->before(':');
} else {
$hostPort = $port;
}
$this->links->push(base_url(withPort: false).":{$hostPort}");
});
}