fix: application custom labels reset after saving

This commit is contained in:
Alexzvn 2024-06-15 00:01:58 +00:00
parent de7380fb0c
commit af38d0cc07

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) {