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 @@ public function mount()
$this->validationAttributes["fields.$key.value"] = $fieldKey;
}
}
$this->fields = $this->fields->sortDesc();
//$this->fields = $this->fields->sortDesc();
}
public function saveCompose($raw)
{
@ -52,7 +52,7 @@ public function saveCompose($raw)
public function instantSave()
{
$this->service->save();
$this->dispatch('success', 'Service settings saved.');
$this->dispatch('success', 'Service settings saved.');
}
public function submit()