Commit 418947b6 authored by Lin Jen-Shin's avatar Lin Jen-Shin

Fix a few layout error

parent 663593e8
......@@ -98,7 +98,7 @@ module IssuableActions
end
def labels
@labels ||= LabelsFinder.new(current_user, project_id: @project.id).execute # rubocop:disable Gitlab/ModuleWithInstanceVariables
@labels ||= LabelsFinder.new(current_user, project_id: @project.id).execute # rubocop:disable Gitlab/ModuleWithInstanceVariables
end
def authorize_destroy_issuable!
......
......@@ -30,7 +30,6 @@ module MilestoneActions
format.json do
render json: tabs_json("shared/milestones/_labels_tab", {
labels: @milestone.labels # rubocop:disable Gitlab/ModuleWithInstanceVariables
})
end
end
......
......@@ -4,6 +4,7 @@
#
# Used by Issue and MergeRequest.
#
module TimeTrackable
extend ActiveSupport::Concern
......
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