summaryrefslogtreecommitdiff
path: root/app/views/shared/boards/_switcher.html.haml
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/shared/boards/_switcher.html.haml')
-rw-r--r--app/views/shared/boards/_switcher.html.haml2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/shared/boards/_switcher.html.haml b/app/views/shared/boards/_switcher.html.haml
index 79118630762..09a365a290a 100644
--- a/app/views/shared/boards/_switcher.html.haml
+++ b/app/views/shared/boards/_switcher.html.haml
@@ -1,4 +1,4 @@
-- parent = board.parent
+- parent = board.resource_parent
- milestone_filter_opts = { format: :json }
- milestone_filter_opts = milestone_filter_opts.merge(only_group_milestones: true) if board.group_board?
- weights = Gitlab.ee? ? ([Issue::WEIGHT_ANY] + Issue.weight_options) : []