Skip to content

Commit b6e95c2

Browse files
committed
move show_state out of private section
1 parent 13a6aa5 commit b6e95c2

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

app/components/primer/open_project/page_header.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -289,12 +289,12 @@ def context_bar
289289
end
290290
end
291291

292-
private
293-
294292
def show_state?
295293
@state == STATE_DEFAULT
296294
end
297295

296+
private
297+
298298
def show_breadcrumbs?
299299
breadcrumbs && !breadcrumbs.to_s.strip.empty? || @parent_link.present?
300300
end

0 commit comments

Comments
 (0)