Board might not exist
This commit is contained in:
parent
6b43e8e636
commit
969d64fcb4
1 changed files with 2 additions and 2 deletions
|
@ -2,11 +2,11 @@
|
|||
- board = local_assigns.fetch(:board, nil)
|
||||
- block_css_class = type != :boards_modal ? 'row-content-block second-block' : ''
|
||||
- full_path = @project.present? ? @project.full_path : @group.full_path
|
||||
- user_can_admin_list = can?(current_user, :admin_list, board.parent)
|
||||
- user_can_admin_list = board && can?(current_user, :admin_list, board.parent)
|
||||
|
||||
.issues-filters
|
||||
.issues-details-filters.filtered-search-block{ class: block_css_class, "v-pre" => type == :boards_modal }
|
||||
- if type == :boards && board
|
||||
- if type == :boards
|
||||
#js-multiple-boards-switcher.inline.boards-switcher{ "v-cloak" => true }
|
||||
= render_if_exists "shared/boards/switcher", board: board
|
||||
= form_tag page_filter_path(without: [:assignee_id, :author_id, :milestone_title, :label_name, :search]), method: :get, class: 'filter-form js-filter-form' do
|
||||
|
|
Loading…
Reference in a new issue