Skip to content

Commit

Permalink
Fix custom fields
Browse files Browse the repository at this point in the history
  • Loading branch information
Joao Nascimento committed Jul 3, 2024
1 parent 064cf5f commit 621a67c
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/Pages/GeneralSettingsPage.php
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,8 @@ public function mount(): void
'name' => $this->data['site_favicon'],
];
}

$this->data['more_configs'] = $this->data['more_configs'] ?? [];
}

public function form(Form $form): Form
Expand Down Expand Up @@ -232,7 +234,7 @@ public function sendTestMail(MailSettingsService $mailSettingsService): void
return;
}

$this->successNotification(__('filament-general-settings::default.test_email_success') . $email);
$this->successNotification(__('filament-general-settings::default.test_email_success').$email);
}

private function successNotification(string $title): void
Expand All @@ -245,7 +247,7 @@ private function successNotification(string $title): void

private function errorNotification(string $title, string $body): void
{
Log::error('[EMAIL] ' . $body);
Log::error('[EMAIL] '.$body);

Notification::make()
->title($title)
Expand Down

0 comments on commit 621a67c

Please sign in to comment.