This commit is contained in:
Andras Bacsai
2023-06-19 10:58:00 +02:00
parent 7bcbfc13b0
commit 448182497f
11 changed files with 59 additions and 17 deletions

View File

@@ -12,7 +12,8 @@ class Change extends Component
protected $rules = [
'private_key.name' => 'required|string',
'private_key.description' => 'nullable|string',
'private_key.private_key' => 'required|string'
'private_key.private_key' => 'required|string',
'private_key.is_git_related' => 'nullable|boolean'
];
protected $validationAttributes = [
'private_key.name' => 'name',

View File

@@ -46,6 +46,7 @@ class Email extends Component
public function test_email()
{
Notification::send($this->settings, new TestEmail);
$this->emit('success', 'Test email sent.');
}
public function submit()
{