Fixed property typo in the Related US Controller

A reference to the `.length` property of `@.userstories` was originally misspelled.
stable
Gavin Mulligan 2017-07-06 02:28:54 +01:00 committed by Jesús Espino
parent 92523a6f98
commit 49d7899066
1 changed files with 1 additions and 1 deletions

View File

@ -30,7 +30,7 @@ class RelatedUserStoriesController
@.showCreateRelatedUserstoriesLightbox = false @.showCreateRelatedUserstoriesLightbox = false
showRelatedUserStoriesSection: () -> showRelatedUserStoriesSection: () ->
return @projectService.hasPermission("view_epics") or @.userstories?.legth > 0 return @projectService.hasPermission("view_epics") or @.userstories?.length > 0
userCanSort: () -> userCanSort: () ->
return @projectService.hasPermission("modify_epic") return @projectService.hasPermission("modify_epic")