Add condition if there is a current user to DropdownUser

Inactive Account requested to merge winh-no-current-user-search-bar into master

What does this MR do?

Display no error message if user is not logged in when using issuable search bar.

What are the relevant issue numbers?

Edited by Inactive Account

Merge request reports