fix: application custom labels reset after saving
This commit is contained in:
parent
de7380fb0c
commit
af38d0cc07
1 changed files with 3 additions and 1 deletions
|
|
@ -347,7 +347,9 @@ public function set_redirect()
|
||||||
public function submit($showToaster = true)
|
public function submit($showToaster = true)
|
||||||
{
|
{
|
||||||
try {
|
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)->replaceEnd(',', '')->trim();
|
||||||
$this->application->fqdn = str($this->application->fqdn)->replaceStart(',', '')->trim();
|
$this->application->fqdn = str($this->application->fqdn)->replaceStart(',', '')->trim();
|
||||||
$this->application->fqdn = str($this->application->fqdn)->trim()->explode(',')->map(function ($domain) {
|
$this->application->fqdn = str($this->application->fqdn)->trim()->explode(',')->map(function ($domain) {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue