diff --git a/app/assets/javascripts/app/controllers/ticket_overview.coffee b/app/assets/javascripts/app/controllers/ticket_overview.coffee index 77c6a1e83..46606fda4 100644 --- a/app/assets/javascripts/app/controllers/ticket_overview.coffee +++ b/app/assets/javascripts/app/controllers/ticket_overview.coffee @@ -152,6 +152,13 @@ class Navbar extends App.Controller render: (data) => return if !data + # do not show vertical navigation if only one tab exists + if @vertical + if data && data.length <= 1 + @el.addClass('hidden') + else + @el.removeClass('hidden') + # set page title if @activeState && @view && !@vertical for item in data