diff --git a/src/bean/ui/db.cljs b/src/bean/ui/db.cljs index f09f5b7..5b317f5 100644 --- a/src/bean/ui/db.cljs +++ b/src/bean/ui/db.cljs @@ -11,7 +11,8 @@ inc:{x+1} sum:{x.reduce({x + y})} count:{x.reduce(inc, 0)} -concatt:{x.concat(y)}")) +concatt:{x.concat(y)} +average:{x.sum() / x.count()}")) (def Cell [:map diff --git a/src/bean/ui/events.cljs b/src/bean/ui/events.cljs index 989a790..a6c5e12 100644 --- a/src/bean/ui/events.cljs +++ b/src/bean/ui/events.cljs @@ -276,7 +276,6 @@ ::rename-frame (undoable) (fn edit-frame [db [_ old-name new-name]] - (prn new-name) (let [frame (get-in (:sheet db) [:frames old-name])] (-> db (update-in [:sheet :frames] dissoc old-name)