[fix] avoid printing %{inject} when no_recordings are available (#2819)

Co-authored-by: Thibault François <thibault@octopuce.fr>
This commit is contained in:
Thibault Francois 2021-07-01 00:59:52 +02:00 committed by GitHub
parent 0b418d7259
commit d71ec232a2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -86,7 +86,7 @@
<% if user_recordings %>
<%= t("recording.no_user_recordings") %>
<% else %>
<%= only_public ? t("recording.no_public_recordings") : t("recording.no_recordings") %>
<%= only_public ? t("recording.no_public_recordings") : t("recording.no_recordings", inject: "") %>
<% end %>
</td>
</tr>