chore: Fix link generation logic in help-center (#5470)
This commit is contained in:
@@ -15,7 +15,7 @@
|
||||
</div>
|
||||
<% else %>
|
||||
<% category.articles.published.take(5).each do |article| %>
|
||||
<div class="flex justify-between content-center min:h-8 my-1">
|
||||
<div class="flex justify-between content-center my-1">
|
||||
<a
|
||||
class="text-slate-800 hover:underline leading-8"
|
||||
href="/hc/<%= portal.slug %>/<%= category.locale %>/<%= category.slug %>/<%= article.id %>"
|
||||
|
||||
@@ -17,6 +17,7 @@
|
||||
</div>
|
||||
<% end %>
|
||||
</div>
|
||||
<% if @portal.config["allowed_locales"].length > 1 %>
|
||||
<div class="flex items-center">
|
||||
<div class="inline-flex relative w-24">
|
||||
<select
|
||||
@@ -32,5 +33,6 @@
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<% end %>
|
||||
</nav>
|
||||
</header>
|
||||
|
||||
Reference in New Issue
Block a user