Tweak default config for mail body (#1572)
This commit is contained in:
parent
14dfc04db0
commit
ee233350ee
|
@ -226,8 +226,7 @@ return [
|
|||
],
|
||||
'mail' => [
|
||||
'timeline' => false, // Add mails to the timeline
|
||||
'show_body' => false,
|
||||
'full_log' => false,
|
||||
'show_body' => true,
|
||||
],
|
||||
'views' => [
|
||||
'timeline' => false, // Add the views to the timeline (Experimental)
|
||||
|
|
|
@ -433,10 +433,7 @@ class LaravelDebugbar extends DebugBar
|
|||
$mailCollector->addSymfonyMessage($event->sent->getSymfonySentMessage());
|
||||
});
|
||||
|
||||
if ($config->get('debugbar.options.mail.full_log')) {
|
||||
$mailCollector->showMessageDetail();
|
||||
}
|
||||
if ($config->get('debugbar.options.mail.show_body')) {
|
||||
if ($config->get('debugbar.options.mail.show_body') || $config->get('debugbar.options.mail.full_log')) {
|
||||
$mailCollector->showMessageBody();
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue