mirror of
https://github.com/snipe/snipe-it.git
synced 2024-12-25 05:34:06 -08:00
Hide email address if there is no value
This commit is contained in:
parent
e4355292e4
commit
098e7e4feb
|
@ -287,7 +287,7 @@
|
|||
<ul class="list-unstyled">
|
||||
|
||||
|
||||
@if (isset($asset->assigneduser->email))
|
||||
@if ((isset($asset->assigneduser->email)) && ($asset->assigneduser->email!=''))
|
||||
<li><i class="fa fa-envelope-o"></i> <a href="mailto:{{ $asset->assigneduser->email }}">{{ $asset->assigneduser->email }}</a></li>
|
||||
@endif
|
||||
|
||||
|
|
Loading…
Reference in a new issue