Преглед изворни кода

Fix broken sharing page when not the owner of a project

James Allen пре 12 година
родитељ
комит
14bf20e087

+ 1 - 1
services/web/public/coffee/project-members/ProjectMembersManager.coffee

@@ -22,7 +22,7 @@ define [
 					content : $(@templates.userPanel)
 					lock: true
 					onShown: () =>
-						@publishProjectView.refreshPublishStatus()
+						@publishProjectView?.refreshPublishStatus()
 
 			setupPublish = _.once =>
 				@publishProjectView = new PublishProjectView