fix instanceSettings

This commit is contained in:
Andras Bacsai
2023-05-16 17:09:50 +02:00
parent ab6d361e64
commit 4156ba8908
8 changed files with 14 additions and 12 deletions

View File

@@ -48,7 +48,7 @@ class Change extends Component
}
public function mount()
{
$settings = InstanceSettings::first();
$settings = InstanceSettings::get();
if ($settings->fqdn) {
$this->host = $settings->fqdn;
}