mirror of
https://github.com/penpot/penpot.git
synced 2025-01-09 16:30:37 -05:00
🐛 Dont return duplicated files on dashboard.
This commit is contained in:
parent
0cb6ecadb6
commit
9f8936ea40
1 changed files with 2 additions and 1 deletions
|
@ -26,7 +26,8 @@
|
|||
(s/def ::user ::us/uuid)
|
||||
|
||||
(su/defstr sql:generic-project-files
|
||||
"select pf.*,
|
||||
"select distinct on (pf.id, pf.created_at)
|
||||
pf.*,
|
||||
p.name as project_name,
|
||||
array_agg(pp.id) over pages_w as pages
|
||||
from project_files as pf
|
||||
|
|
Loading…
Reference in a new issue