fix
This commit is contained in:
parent
2aa6a14289
commit
91353d2e5a
|
@ -177,6 +177,7 @@ class UsersController < ApplicationController
|
|||
@memberships_done = []
|
||||
now_time = Time.now
|
||||
@memberships.map { |e|
|
||||
(@memberships_doing.push(e);next) if e.project.course_extra.endup_time.nil?
|
||||
end_time_str = e.project.course_extra.endup_time
|
||||
end_time = Time.parse(end_time_str)
|
||||
if end_time > now_time
|
||||
|
|
Loading…
Reference in New Issue