Add action mailbox.before_name

This commit is contained in:
RienNeVaPlus
2022-05-24 09:42:07 +02:00
committed by GitHub
parent 3cfa02fde2
commit 5e053d2954

View File

@@ -2,6 +2,7 @@
@php
$menu_mailboxes = auth()->user()->mailboxesCanView();
@endphp
@action('mailbox.before_name', $mailbox)
<span class="dropdown-toggle" data-toggle="dropdown" role="button" aria-expanded="false" aria-haspopup="true" v-pre>
{{ $mailbox->name }} @if (count($menu_mailboxes))<span class="caret"></span>@endif
</span>