Don't open account links in new window
This allows switching account in-place inside the same PWA or browser tab.
This commit is contained in:
@@ -66,7 +66,7 @@
|
||||
<% cache [ Current.identity, accounts ] do %>
|
||||
<%= collapsible_nav_section "Accounts" do %>
|
||||
<% accounts.each do |account| %>
|
||||
<%= filter_place_menu_item landing_url(script_name: account.slug), account.name, "marker", new_window: true, current: account == Current.account %>
|
||||
<%= filter_place_menu_item landing_url(script_name: account.slug), account.name, "marker", current: account == Current.account %>
|
||||
<% end %>
|
||||
<% end %>
|
||||
<% end %>
|
||||
|
||||
Reference in New Issue
Block a user