Sha256: 9007153aa017b1bd6151834d76960ed0ca5adee31a5ed54524a4f8fd2f507cd9
Contents?: true
Size: 625 Bytes
Versions: 11
Compression:
Stored size: 625 Bytes
Contents
# frozen_string_literal: true module AdditionalTags module Patches module DashboardContentPatch extend ActiveSupport::Concern included do prepend InstanceOverwriteMethods end module InstanceOverwriteMethods def block_definitions blocks = super blocks['issue_tags'] = { label: l(:field_issue_tags), permission: :view_issue_tags, if: proc { AdditionalTags.setting?(:active_issue_tags) }, async: { partial: 'dashboards/blocks/issue_tags' } } blocks end end end end end
Version data entries
11 entries across 11 versions & 1 rubygems