Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2022-08-05 21:08:56 +0300
committerGitLab Bot <gitlab-bot@gitlab.com>2022-08-05 21:08:56 +0300
commit092e41f5660a356a6cebc26cd0274b531d8c70c6 (patch)
treee696f9ad230bc5d5a7222fb690e3699a1a8abe78 /app/models/work_items/widgets/labels.rb
parent8ec882085e734458ffe0fff8e2e4b72bc3871419 (diff)
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'app/models/work_items/widgets/labels.rb')
-rw-r--r--app/models/work_items/widgets/labels.rb10
1 files changed, 10 insertions, 0 deletions
diff --git a/app/models/work_items/widgets/labels.rb b/app/models/work_items/widgets/labels.rb
new file mode 100644
index 00000000000..4ad8319ffac
--- /dev/null
+++ b/app/models/work_items/widgets/labels.rb
@@ -0,0 +1,10 @@
+# frozen_string_literal: true
+
+module WorkItems
+ module Widgets
+ class Labels < Base
+ delegate :labels, to: :work_item
+ delegate :allows_scoped_labels?, to: :work_item
+ end
+ end
+end