mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-21 20:47:08 -05:00
More tidy unpacking of data
This commit is contained in:
parent
16106df2f0
commit
4acd55b1c6
1 changed files with 1 additions and 1 deletions
|
@ -51,7 +51,7 @@ define [
|
|||
ide.fileTreeManager.refreshLinkedFile(file)
|
||||
.then (response) ->
|
||||
{ data } = response
|
||||
new_file_id = data.new_file_id
|
||||
{ new_file_id } = data
|
||||
$timeout(
|
||||
() ->
|
||||
ide.binaryFilesManager.openFileById(new_file_id)
|
||||
|
|
Loading…
Reference in a new issue