Skip to content
This repository was archived by the owner on Mar 4, 2025. It is now read-only.

Commit 96929ec

Browse files
committed
Fix bug in redirect
1 parent 0e77665 commit 96929ec

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

src/scripts/services/submit-work.service.coffee

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,12 @@ SubmitWorkService = ($rootScope, Optimist, SubmitWorkAPIService) ->
4040
interceptResponse = (res) ->
4141
currentWorkId = res.id
4242

43+
work.updateLocal
44+
updates:
45+
id: res.id
46+
47+
res
48+
4349
apiCall = (model) ->
4450
SubmitWorkAPIService.post({}, model).$promise.then(interceptResponse)
4551

0 commit comments

Comments
 (0)