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

Commit 98335a2

Browse files
author
samsep
committed
update status names on project creation & updates
1 parent 2cfa076 commit 98335a2

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

src/scripts/controllers/development.controller.coffee

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ SubmitWorkDevelopmentController = ($scope, $rootScope, $state, SubmitWorkService
5454
vm.save = (done = false, kickoff = false) ->
5555
uploaderValid = !vm.uploaderUploading && !vm.uploaderHasErrors
5656
updates = vm.work
57-
updates.status = if kickoff then 'Submitted' else 'Incomplete'
57+
updates.status = if kickoff then 'SUBMITTED' else 'INCOMPLETE'
5858

5959
for name, prop of updates
6060
unless prop

src/scripts/controllers/type.controller.coffee

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ SubmitWorkTypeController = ($scope, $rootScope, $state, $document, SubmitWorkSer
107107

108108
vm.create = ->
109109
updates = getUpdates()
110-
updates.status = 'Incomplete'
110+
updates.status = 'INCOMPLETE'
111111

112112
if isValid(updates)
113113
vm.loading = true

src/scripts/controllers/visual.controller.coffee

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ SubmitWorkVisualController = ($scope, $rootScope, $state, SubmitWorkService, Sub
6161

6262
vm.save = (done = false, kickoff = false) ->
6363
updates = getUpdates()
64-
updates.status = if kickoff then 'Submitted' else 'Incomplete'
64+
updates.status = if kickoff then 'SUBMITTED' else 'INCOMPLETE'
6565

6666
SubmitWorkService.save(updates).then ->
6767
if done && kickoff

0 commit comments

Comments
 (0)