Hide view untagged filter when there are not tags (#1375)

This commit is contained in:
Régis Freyd
2018-05-21 22:29:18 -04:00
committed by GitHub
parent 2543664a3c
commit 300cdfece0
2 changed files with 5 additions and 1 deletions
@@ -72,6 +72,7 @@ class ContactsController extends Controller
return view('people.index')
->withContacts($contacts->unique('id'))
->withTags($tags)
->withUserTags(auth()->user()->account->tags)
->withUrl($url)
->withTagCount($count)
->withTagLess($request->get('no_tag') ?? false);