mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-06-04 14:49:01 +02:00
fixed null on description in client
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user