mirror of
https://github.com/penpot/penpot.git
synced 2025-12-12 06:24:17 +01:00
🐛 Fix file doesn’t open after deleting the library used in it
This commit is contained in:
committed by
Andrey Antukh
parent
54ac64db4b
commit
36c986d8e8
@@ -749,7 +749,7 @@
|
|||||||
l.version
|
l.version
|
||||||
FROM libs AS l
|
FROM libs AS l
|
||||||
INNER JOIN project AS p ON (p.id = l.project_id)
|
INNER JOIN project AS p ON (p.id = l.project_id)
|
||||||
WHERE l.deleted_at IS NULL OR l.deleted_at > now();")
|
WHERE l.deleted_at IS NULL;")
|
||||||
|
|
||||||
(defn get-file-libraries
|
(defn get-file-libraries
|
||||||
[conn file-id]
|
[conn file-id]
|
||||||
|
|||||||
Reference in New Issue
Block a user