fix: sort by defined order + fixed typo

This commit is contained in:
iamEvan
2024-05-27 23:41:42 +01:00
parent 424437446d
commit 39f787b7db

View File

@@ -42,7 +42,7 @@ class StackForm extends Component
$this->validationAttributes["fields.$key.value"] = $fieldKey; $this->validationAttributes["fields.$key.value"] = $fieldKey;
} }
} }
$this->fields = $this->fields->sortDesc(); //$this->fields = $this->fields->sortDesc();
} }
public function saveCompose($raw) public function saveCompose($raw)
{ {
@@ -52,7 +52,7 @@ class StackForm extends Component
public function instantSave() public function instantSave()
{ {
$this->service->save(); $this->service->save();
$this->dispatch('success', 'Service settings saved.'); $this->dispatch('success', 'Service settings saved.');
} }
public function submit() public function submit()