mirror of
https://github.com/wahyd4/gitlabhq.git
synced 2026-08-23 03:26:07 +10:00
Fix error on non-issue pages with comment areas.
This commit is contained in:
@@ -8,7 +8,7 @@
|
||||
%a.js-md-preview-button{ href: "#md-preview-holder", tabindex: -1 }
|
||||
Preview
|
||||
|
||||
- if @issue.confidential?
|
||||
- if defined?(@issue) && @issue.confidential?
|
||||
%li.confidential-issue-warning
|
||||
= icon('warning')
|
||||
%span This is a confidential issue. Your comment will not be visible to the public.
|
||||
|
||||
Reference in New Issue
Block a user