Skip to content

Commit

Permalink
fix: Show “not set” for nil config values
Browse files Browse the repository at this point in the history
  • Loading branch information
sman591 committed Jul 12, 2019
1 parent 9206718 commit 7bb8d4a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/views/manage/configs/index.html.haml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
%span.badge.badge-secondary Not set
- else
%pre.mb-0= cleaned_value
- elsif value == ''
- elsif value.nil? || value == ''
%p.mb-0
%span.badge.badge-secondary Not set
- else
Expand Down

0 comments on commit 7bb8d4a

Please sign in to comment.