mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-07 20:31:06 -05:00
Correctly access response parameters.
This commit is contained in:
parent
33be384206
commit
9ffec6eb16
1 changed files with 2 additions and 1 deletions
|
@ -10,7 +10,8 @@ define [
|
|||
$scope.history.diff.doc
|
||||
)
|
||||
.then (response) ->
|
||||
$scope.history.diff.restoredDocNewId = response.doc_id
|
||||
{ data } = response
|
||||
$scope.history.diff.restoredDocNewId = data.doc_id
|
||||
$scope.history.diff.restoreInProgress = false
|
||||
$scope.history.diff.restoreDeletedSuccess = true
|
||||
|
||||
|
|
Loading…
Reference in a new issue