diff --git a/frontend/src/app/util/svg.cljs b/frontend/src/app/util/svg.cljs index 48e64746e..b4d3a352a 100644 --- a/frontend/src/app/util/svg.cljs +++ b/frontend/src/app/util/svg.cljs @@ -488,8 +488,9 @@ filter-values))) (defn extract-ids [val] - (->> (re-seq xml-id-regex val) - (mapv second))) + (when (some? val) + (->> (re-seq xml-id-regex val) + (mapv second)))) (defn fix-dot-number "Fixes decimal numbers starting in dot but without leading 0"