[Backport] Fix #5099: Related user stories do not appear on the page for an epic
parent
80bf29f241
commit
dc91319256
|
@ -30,7 +30,7 @@ class RelatedUserStoriesController
|
||||||
@.showCreateRelatedUserstoriesLightbox = false
|
@.showCreateRelatedUserstoriesLightbox = false
|
||||||
|
|
||||||
showRelatedUserStoriesSection: () ->
|
showRelatedUserStoriesSection: () ->
|
||||||
return @projectService.hasPermission("modify_epic") or @.userstories?.legth > 0
|
return @projectService.hasPermission("view_epics") or @.userstories?.legth > 0
|
||||||
|
|
||||||
userCanSort: () ->
|
userCanSort: () ->
|
||||||
return @projectService.hasPermission("modify_epic")
|
return @projectService.hasPermission("modify_epic")
|
||||||
|
|
Loading…
Reference in New Issue