diff --git a/common/src/app/common/pages/migrations.cljc b/common/src/app/common/pages/migrations.cljc index 87f7e4af30..4a3ebc5811 100644 --- a/common/src/app/common/pages/migrations.cljc +++ b/common/src/app/common/pages/migrations.cljc @@ -311,7 +311,7 @@ clean-attrs (d/without-nils attrs)] (cond-> shape - (not (empty? clean-attrs)) + (d/not-empty? clean-attrs) (assoc :fills [clean-attrs])))) ;; Add fills to shapes @@ -341,7 +341,7 @@ clean-attrs (d/without-nils attrs)] (cond-> shape - (not (empty? clean-attrs)) + (d/not-empty? clean-attrs) (assoc :strokes [clean-attrs])))) ;; Add strokes to shapes diff --git a/frontend/src/app/main/ui/shapes/custom_stroke.cljs b/frontend/src/app/main/ui/shapes/custom_stroke.cljs index 1b8cd3f2a2..eec58ff19e 100644 --- a/frontend/src/app/main/ui/shapes/custom_stroke.cljs +++ b/frontend/src/app/main/ui/shapes/custom_stroke.cljs @@ -323,7 +323,6 @@ (> (count (:fills shape)) 1) (some :fill-color-gradient (:fills shape))) one-fill? (= (count (:fills shape)) 1) - no-fills? (= (count (:fills shape)) 0) last-stroke? (= position (- (count (:strokes shape)) 1)) props (-> (obj/get child "props")