diff --git a/app/assets/javascripts/app/controllers/widget/ticket_stats.js.coffee b/app/assets/javascripts/app/controllers/widget/ticket_stats.js.coffee index 8ff1600be..aece7cfe3 100644 --- a/app/assets/javascripts/app/controllers/widget/ticket_stats.js.coffee +++ b/app/assets/javascripts/app/controllers/widget/ticket_stats.js.coffee @@ -59,9 +59,6 @@ class App.TicketStats extends App.Controller org_total: data.org_tickets_open_ids.length + data.org_tickets_closed_ids.length ) - if @organization - @showOrgTab() - limit = 5 new TicketStatsList( el: @$('.js-user-open-tickets') @@ -158,6 +155,5 @@ class TicketStatsFrequency extends App.Controller item.closed_in_percent = 100 / max * item.closed @html App.view('widget/ticket_stats_frequency')( - user: @user ticket_volume_by_year: @ticket_volume_by_year.reverse() ) diff --git a/app/assets/javascripts/app/views/widget/ticket_stats.jst.eco b/app/assets/javascripts/app/views/widget/ticket_stats.jst.eco index 8eb80ec61..8cb8fcd25 100644 --- a/app/assets/javascripts/app/views/widget/ticket_stats.jst.eco +++ b/app/assets/javascripts/app/views/widget/ticket_stats.jst.eco @@ -5,7 +5,7 @@ <% end %> -