Merge pull request #2553 from alexzvn/main

fix: application custom labels reset after saving
This commit is contained in:
Andras Bacsai 2024-06-19 16:14:07 +02:00 committed by GitHub
commit b7fd1b9f4c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -347,7 +347,9 @@ public function set_redirect()
public function submit($showToaster = true)
{
try {
$this->set_redirect();
if ($this->application->isDirty('redirect')) {
$this->set_redirect();
}
$this->application->fqdn = str($this->application->fqdn)->replaceEnd(',', '')->trim();
$this->application->fqdn = str($this->application->fqdn)->replaceStart(',', '')->trim();
$this->application->fqdn = str($this->application->fqdn)->trim()->explode(',')->map(function ($domain) {