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

Commit ce2dd7d

Browse files
committed
build
1 parent 96929ec commit ce2dd7d

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

dist/main.js

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -719,7 +719,13 @@ $templateCache.put("views/submit-work-development.directive.html","<header><ul c
719719
create = function(updates) {
720720
var apiCall, interceptResponse;
721721
interceptResponse = function(res) {
722-
return currentWorkId = res.id;
722+
currentWorkId = res.id;
723+
work.updateLocal({
724+
updates: {
725+
id: res.id
726+
}
727+
});
728+
return res;
723729
};
724730
apiCall = function(model) {
725731
return SubmitWorkAPIService.post({}, model).$promise.then(interceptResponse);

0 commit comments

Comments
 (0)