A free open source IT asset/license management system
[FIX] Lite test email won't use the mail component (#9092)
Oliver Walerysc3166d491ae3
diff --git a/resources/views/notifications/Test.blade.php b/resources/views/notifications/Test.blade.phpindex e4e479846f..0f58a54926 100644--- a/resources/views/notifications/Test.blade.php+++ b/resources/views/notifications/Test.blade.php@@ -1,7 +1,11 @@+@if ($setupCompleted = \App\Models\Setting::setupCompleted())@component('mail::message')+@endif{{ trans('mail.test_mail_text') }}Thanks,Snipe-IT+@if ($setupCompleted)@endcomponent+@endifdiff --git a/resources/views/vendor/mail/markdown/message.blade.php b/resources/views/vendor/mail/markdown/message.blade.phpindex 862611099e..0fcfba938c 100644--- a/resources/views/vendor/mail/markdown/message.blade.php+++ b/resources/views/vendor/mail/markdown/message.blade.php@@ -45,7 +45,7 @@ Snipe-IT@endif@if ($snipeSettings->privacy_policy_link!='')-<a href="{{ $snipeSettings->privacy_policy_link }}">{{ trans('admin/settings/general.privacy_policy') }}</a>ldfkgjg+<a href="{{ $snipeSettings->privacy_policy_link }}">{{ trans('admin/settings/general.privacy_policy') }}</a>@endif@endcomponent