mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-21 20:47:08 -05:00
fixed null on description in client
This commit is contained in:
parent
4bc47bd2b2
commit
d06848d109
1 changed files with 1 additions and 1 deletions
|
@ -39,7 +39,7 @@ define [
|
||||||
$scope.$watch $scope.problemTalkingToTemplateApi, refreshPublishedStatus
|
$scope.$watch $scope.problemTalkingToTemplateApi, refreshPublishedStatus
|
||||||
|
|
||||||
$scope.updateProjectDescription = ->
|
$scope.updateProjectDescription = ->
|
||||||
description = $scope.template.description
|
description = $scope.templateDetails.description
|
||||||
if description?
|
if description?
|
||||||
ide.socket.emit 'updateProjectDescription', description, (err) =>
|
ide.socket.emit 'updateProjectDescription', description, (err) =>
|
||||||
if err? then return problemTalkingToTemplateApi()
|
if err? then return problemTalkingToTemplateApi()
|
||||||
|
|
Loading…
Reference in a new issue