mirror of
https://github.com/penpot/penpot.git
synced 2025-08-04 01:18:29 +02:00
🐛 Don't navigate when no frame/index found on viewer.
This commit is contained in:
parent
b0fbc86ca7
commit
29669b8b0f
3 changed files with 4 additions and 2 deletions
|
@ -87,7 +87,7 @@
|
|||
|
||||
(defn index-of-pred
|
||||
[coll pred]
|
||||
(loop [c (first coll)
|
||||
(loop [c (first coll)
|
||||
coll (rest coll)
|
||||
index 0]
|
||||
(if (nil? c)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue