Merge pull request #6472 from pengfeidong/6471_not_show_link_when_sendinblue_disabled
Le lien SendInBlue n'est plus affiché lorsque SendInBlue est désactivé (#6472)
This commit is contained in:
commit
2092994fc3
1 changed files with 1 additions and 1 deletions
|
@ -25,7 +25,7 @@ as defined by the routes in the `admin/` namespace
|
|||
|
||||
<%= link_to "Delayed Jobs", manager_delayed_job_path, class: "navigation__link" %>
|
||||
<%= link_to "Features", manager_flipper_path, class: "navigation__link" %>
|
||||
<% if Rails.env.production? %>
|
||||
<% if Rails.env.production? && ENV['SENDINBLUE_ENABLED'] == 'enabled'%>
|
||||
<%= link_to "Sendinblue", ENV.fetch("SENDINBLUE_LOGIN_URL"), class: "navigation__link", target: '_blank' %>
|
||||
<% end %>
|
||||
</nav>
|
||||
|
|
Loading…
Reference in a new issue