mirror of
https://github.com/overleaf/overleaf.git
synced 2025-02-23 23:11:17 +00:00
Fix broken sharing page when not the owner of a project
This commit is contained in:
parent
a99783edc7
commit
14bf20e087
1 changed files with 1 additions and 1 deletions
|
@ -22,7 +22,7 @@ define [
|
||||||
content : $(@templates.userPanel)
|
content : $(@templates.userPanel)
|
||||||
lock: true
|
lock: true
|
||||||
onShown: () =>
|
onShown: () =>
|
||||||
@publishProjectView.refreshPublishStatus()
|
@publishProjectView?.refreshPublishStatus()
|
||||||
|
|
||||||
setupPublish = _.once =>
|
setupPublish = _.once =>
|
||||||
@publishProjectView = new PublishProjectView
|
@publishProjectView = new PublishProjectView
|
||||||
|
|
Loading…
Reference in a new issue