fix teams switch not working at navigating from task

This commit is contained in:
mlorb 2018-11-21 10:12:21 +01:00
parent e9c0b34662
commit 8bf1056bf5

View file

@ -42,7 +42,8 @@
<li class="team-name-item"> <li class="team-name-item">
<a href="#" <a href="#"
data-id="<%= team.id %>" data-id="<%= team.id %>"
class="text-center change-team"> class="text-center change-team"
data-turbolinks="false">
<% if current_team == team %> <% if current_team == team %>
<span class="fas fa-check-circle"></span> <strong><%= team.name %></strong> <span class="fas fa-check-circle"></span> <strong><%= team.name %></strong>
<% else %> <% else %>