Commit e9be9d5d authored by Bryce Johnson's avatar Bryce Johnson

Dont wrap the entire feature in an ef statement - 😢

parent d9d138da
......@@ -14,17 +14,17 @@
- content_for :breadcrumbs_extra do
= render "projects/issues/nav_btns", show_export_button: false, show_rss_button: false
- support_bot_attrs = User.support_bot.to_json(only: [:id, :name, :username, :avatar_url])
- support_bot_attrs = User.support_bot.to_json(only: [:id, :name, :username, :avatar_url])
%div{ class: "#{container_class} service-desk-issues", data: { support_bot: support_bot_attrs }}
.top-area
= render 'shared/issuable/nav', type: :issues
.nav-controls{ class: ("visible-xs" if show_new_nav?) }
= render "projects/issues/nav_btns", show_export_button: false, show_rss_button: false
= render 'shared/issuable/search_bar', type: :issues
%div{ class: "#{container_class} service-desk-issues", data: { support_bot: support_bot_attrs }}
.top-area
= render 'shared/issuable/nav', type: :issues
.nav-controls{ class: ("visible-xs" if show_new_nav?) }
= render "projects/issues/nav_btns", show_export_button: false, show_rss_button: false
= render 'shared/issuable/search_bar', type: :issues
- if @issues.present?
= render 'service_desk_info_content'
- if @issues.present?
= render 'service_desk_info_content'
.issues-holder
= render 'projects/issues/issues', empty_state_path: 'service_desk_info_content'
.issues-holder
= render 'projects/issues/issues', empty_state_path: 'service_desk_info_content'
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment