mirror of
https://github.com/penpot/penpot.git
synced 2025-02-24 07:46:13 -05:00
🐛 Fix opening the swap panel on a copy of a deleted component fails
This commit is contained in:
parent
0ab56b38b9
commit
af2e4ca00f
1 changed files with 1 additions and 2 deletions
|
@ -224,11 +224,10 @@
|
||||||
(cfh/join-path (if (not every-same-file?)
|
(cfh/join-path (if (not every-same-file?)
|
||||||
""
|
""
|
||||||
(find-common-path [] 0))))
|
(find-common-path [] 0))))
|
||||||
|
|
||||||
filters* (mf/use-state
|
filters* (mf/use-state
|
||||||
{:term ""
|
{:term ""
|
||||||
:file-id file-id
|
:file-id file-id
|
||||||
:path path
|
:path (or path "")
|
||||||
:listing-thumbs? false})
|
:listing-thumbs? false})
|
||||||
|
|
||||||
filters (deref filters*)
|
filters (deref filters*)
|
||||||
|
|
Loading…
Add table
Reference in a new issue