mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-05-28 19:41:33 +02:00
Fix redirect in clone project modal
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user