Hide navigation section if Canny is not configured
This commit is contained in:
parent
2f7d7b2601
commit
eecaaeab2d
|
@ -32,6 +32,7 @@
|
|||
%i.fa.fa-fw.fa-gavel
|
||||
= t("views.navigation.moderation")
|
||||
.dropdown-divider
|
||||
- if APP_CONFIG["canny"]
|
||||
%h6.dropdown-header.d-none.d-sm-block Feedback
|
||||
%a.dropdown-item{ href: feedback_features_path }
|
||||
%i.fa.fa-fw.fa-flask
|
||||
|
|
|
@ -26,6 +26,7 @@
|
|||
%i.fa.fa-fw.fa-gavel
|
||||
= t("views.navigation.moderation")
|
||||
.dropdown-divider
|
||||
- if APP_CONFIG["canny"]
|
||||
%h6.dropdown-header.d-none.d-sm-block Feedback
|
||||
%a.dropdown-item{ href: feedback_features_path }
|
||||
%i.fa.fa-fw.fa-flask
|
||||
|
|
Loading…
Reference in New Issue