mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2025-01-02 21:51:51 +08:00
Merge pull request #1720 from jbargu/jg_sci_3375
One project is duplicated in project list [SCI-3375]
This commit is contained in:
commit
c866d96ea7
1 changed files with 1 additions and 1 deletions
|
@ -47,7 +47,7 @@ class Project < ApplicationRecord
|
|||
.where(
|
||||
'visibility = 1 OR user_projects.user_id = :id',
|
||||
id: user.id
|
||||
)
|
||||
).distinct
|
||||
end
|
||||
end)
|
||||
|
||||
|
|
Loading…
Reference in a new issue