[BUG] Fix error on new ticket view

:bug: :koala: :+1:

Prevent error if user is not defined and only switch to display mode after a request once the user is non-null.

/cc @maximeprades