Commit c9f7cc34 authored by Gabriel-31415's avatar Gabriel-31415
Browse files

ajuste em perfil

parent 61993ebd
...@@ -127,7 +127,7 @@ ...@@ -127,7 +127,7 @@
{{ __('Perfil Proponente') }} {{ __('Perfil Proponente') }}
</a> </a>
@endif @endif
@if(Auth::user()->participantes != null) @if(Auth::user()->participantes->where('user_id', Auth::user()->id)->count() != 0)
<a class="dropdown-item" href="{{ route('participante.index') }}"> <a class="dropdown-item" href="{{ route('participante.index') }}">
<img src="{{asset('img/icons/file-alt-regular-black.svg')}}" alt=""> <img src="{{asset('img/icons/file-alt-regular-black.svg')}}" alt="">
{{ __('Perfil Participante') }} {{ __('Perfil Participante') }}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment