[Users] Remove API limits column

Hardy useful, breaks user profiles if redis is down
This commit is contained in:
Earlopain 2024-02-19 16:22:18 +01:00
parent 674df5582e
commit bab944ba95
No known key found for this signature in database
GPG Key ID: 48860312319ADF61

View File

@ -158,12 +158,6 @@
<%= link_to (CurrentUser.api_key ? "View" : "Generate"), user_api_key_path(CurrentUser.user) %>
(<%= link_to "help", help_page_path(id: "api") %>)
</span>
<span>API Limits</span>
<span>
<%= CurrentUser.user.remaining_api_limit %>
/ <%= CurrentUser.user.api_burst_limit %> <span class="hint">(may not be up to date)</span>
</span>
<% end %>
</div>
</div>