mirror of
https://github.com/penpot/penpot.git
synced 2025-01-23 23:18:48 -05:00
Merge pull request #4258 from penpot/palba-fix-swap-mixed-paths
🐛 Fixes the folders in the Swap pannel appear weird on mixed
This commit is contained in:
commit
a704e919d8
1 changed files with 1 additions and 1 deletions
|
@ -275,7 +275,7 @@
|
|||
|
||||
(defn- find-common-path
|
||||
([components]
|
||||
(let [paths (map (comp cfh/last-path :path) components)]
|
||||
(let [paths (map (comp cfh/split-path :path) components)]
|
||||
(find-common-path paths [] 0)))
|
||||
([paths path n]
|
||||
(let [current (nth (first paths) n nil)]
|
||||
|
|
Loading…
Add table
Reference in a new issue