Browse Source

feat: fix when org filters display

pull/1791/head
natdeanlewissoftwire 3 years ago
parent
commit
b2004cc1f8
  1. 4
      app/views/logs/_log_filters.html.erb

4
app/views/logs/_log_filters.html.erb

@ -63,7 +63,7 @@
category: "assigned_to", category: "assigned_to",
} %> } %>
<% if (@current_user.support? || @current_user.organisation.stock_owners.count > 1) && request.path == "/lettings-logs" %> <% if @current_user.support? || @current_user.organisation.stock_owners.count > 1 && request.path == "/lettings-logs" %>
<%= render partial: "filters/radio_filter", locals: { <%= render partial: "filters/radio_filter", locals: {
f:, f:,
options: { options: {
@ -83,7 +83,7 @@
} %> } %>
<% end %> <% end %>
<% if (@current_user.support? || @current_user.organisation.managing_agents.count > 1) && request.path == "/lettings-logs" %> <% if @current_user.support? || @current_user.organisation.managing_agents.count > 1 && request.path == "/lettings-logs" %>
<%= render partial: "filters/radio_filter", locals: { <%= render partial: "filters/radio_filter", locals: {
f:, f:,
options: { options: {

Loading…
Cancel
Save