mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-07 20:31:06 -05:00
Fix redirect in clone project modal
This commit is contained in:
parent
d7981fd2d4
commit
cb1745a1e6
1 changed files with 1 additions and 1 deletions
|
@ -24,7 +24,7 @@ define [
|
|||
$scope.state.error = false
|
||||
cloneProject($scope.inputs.projectName)
|
||||
.success (data) ->
|
||||
window.location = "/project/#{data.data.project_id}"
|
||||
window.location = "/project/#{data.project_id}"
|
||||
.error (body, statusCode) ->
|
||||
$scope.state.inflight = false
|
||||
if statusCode == 400
|
||||
|
|
Loading…
Reference in a new issue