summaryrefslogtreecommitdiff
path: root/app/views/shared/admin/_admin_note.html.haml
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/shared/admin/_admin_note.html.haml')
-rw-r--r--app/views/shared/admin/_admin_note.html.haml2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/shared/admin/_admin_note.html.haml b/app/views/shared/admin/_admin_note.html.haml
index 9dcf181a118..2bf6baaf608 100644
--- a/app/views/shared/admin/_admin_note.html.haml
+++ b/app/views/shared/admin/_admin_note.html.haml
@@ -1,4 +1,4 @@
-- if @group.admin_note.present?
+- if @group.admin_note&.note?
- text = @group.admin_note.note
= render Pajamas::CardComponent.new(card_options: { class: 'gl-border-blue-500 gl-mb-5' }, header_options: { class: 'gl-bg-blue-500 gl-text-white' }) do |c|
- c.header do