Hide issues and MRs in labels list if disabled
2 unresolved threads
2 unresolved threads
Compare changes
+ 15
− 11
@@ -11,12 +11,14 @@
@@ -37,10 +39,12 @@
@@ -82,4 +86,4 @@
\ No newline at end of file
Do not update/delete: Banner broadcast message test data
Do not update/delete: Notification broadcast message test data
Hide view issues and merge requests from labels list if the project has issues or merge request disabled.
The links lead to an error page if the features were disabled for the project.
master
(if it does - rebase it please)Please keep this trailing newline here.
What is this condition trying to achieve? My understanding is:
GroupLabel
always show the linkProjectLabel
show the link only when merge requests are enabledIs that correct? Is it possible that label is a project label but
@project
is not defined?If not, then this can be rewritten as: