Include shared rooms in room count for search (#2470)

This commit is contained in:
Ahmad Farhat
2021-01-25 20:14:33 -05:00
committed by GitHub
parent e383102187
commit 0833491f41
2 changed files with 8 additions and 1 deletions

View File

@ -82,7 +82,7 @@
</div>
</div>
<% if current_user.ordered_rooms.length > 5 %>
<% if total_room_count(current_user) > 5 %>
<div class="input-icon invite-link-input mb-3">
<span class="input-icon-addon">
<i class="fas fa-search"></i>