Hide report link if postmark isn't used
This commit is contained in:
parent
b23ed24a5c
commit
21adc16792
1 changed files with 1 additions and 1 deletions
|
|
@ -37,7 +37,7 @@
|
|||
@stop
|
||||
|
||||
@section('top-right')
|
||||
@if (auth()->user()->hasPermission('view_all') && auth()->user()->hasPermission('view_all'))
|
||||
@if (config('services.postmark') && auth()->user()->hasPermission('view_all') && auth()->user()->hasPermission('view_all'))
|
||||
{!! Button::normal(trans('texts.emails'))
|
||||
->asLinkTo(url('/reports/emails'))
|
||||
->appendIcon(Icon::create('envelope')) !!}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue