rector: arrrrr
This commit is contained in:
@@ -36,7 +36,7 @@ class Input extends Component
|
||||
$this->name = $this->id;
|
||||
}
|
||||
if ($this->type === 'password') {
|
||||
$this->defaultClass = $this->defaultClass.' pr-[2.8rem]';
|
||||
$this->defaultClass .= ' pr-[2.8rem]';
|
||||
}
|
||||
|
||||
// $this->label = Str::title($this->label);
|
||||
|
||||
@@ -33,11 +33,7 @@ class Links extends Component
|
||||
if ($application->ports) {
|
||||
$portsCollection = collect(str($application->ports)->explode(','));
|
||||
$portsCollection->map(function ($port) {
|
||||
if (str($port)->contains(':')) {
|
||||
$hostPort = str($port)->before(':');
|
||||
} else {
|
||||
$hostPort = $port;
|
||||
}
|
||||
$hostPort = str($port)->contains(':') ? str($port)->before(':') : $port;
|
||||
$this->links->push(base_url(withPort: false).":{$hostPort}");
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user