Skip to content

Commit

Permalink
FIX: Remove typo in can apply for extension code
Browse files Browse the repository at this point in the history
  • Loading branch information
macite committed Jul 26, 2019
1 parent eb5cdc0 commit 5d79fbf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app/common/services/project-service.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -248,7 +248,7 @@ angular.module("doubtfire.common.services.projects", [])

# You can apply for an extension in certain states, if it is before the deadline or was submitted before the deadline, and you can request some extensions still.
task.canApplyForExtension = ->
task.inStateThatAllowsExtension() && ( !task.isPastDeadline() || task.subwasSubmittedOnTime() ) && task.maxWeeksCanExtend() > 0
task.inStateThatAllowsExtension() && ( !task.isPastDeadline() || task.wasSubmittedOnTime() ) && task.maxWeeksCanExtend() > 0

task.inFinalState = ->
task.status in taskService.finalStatuses
Expand Down

0 comments on commit 5d79fbf

Please sign in to comment.