mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-07 20:31:06 -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.updateProjectDescription = ->
|
||||
description = $scope.template.description
|
||||
description = $scope.templateDetails.description
|
||||
if description?
|
||||
ide.socket.emit 'updateProjectDescription', description, (err) =>
|
||||
if err? then return problemTalkingToTemplateApi()
|
||||
|
|
Loading…
Reference in a new issue