mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2025-03-03 19:24:48 +08:00
Fixed mistyped permission checker.
This commit is contained in:
parent
e36ec69ca9
commit
900446557b
1 changed files with 1 additions and 1 deletions
|
@ -67,7 +67,7 @@
|
|||
<span class="glyphicon glyphicon-briefcase" aria-hidden="true"></span>
|
||||
</a>
|
||||
|
||||
<% if can_create_project?(@project) && @teams.length > 0 %>
|
||||
<% if @teams.length > 0 && can_create_projects?(current_team) %>
|
||||
<!-- new project button -->
|
||||
<a class="btn btn-primary pull-right" id="new-project-btn">
|
||||
<span class="glyphicon glyphicon-plus" aria-hidden="true"></span>
|
||||
|
|
Loading…
Reference in a new issue