修复课程成员不能编辑、删除、添加的问题
This commit is contained in:
parent
4f8bea35f5
commit
5bcc9c21f2
|
@ -42,12 +42,16 @@ module Trustie
|
|||
end
|
||||
|
||||
def repository
|
||||
unless project.nil?
|
||||
project.repository
|
||||
end
|
||||
end
|
||||
|
||||
def isGitlabProject?
|
||||
unless repository.nil?
|
||||
repository && repository.gitlab?
|
||||
end
|
||||
end
|
||||
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in New Issue