habiteam / habitea

Activity and Habit tracker
https://habitea.netlify.app/
GNU Affero General Public License v3.0
6 stars 0 forks source link

Journal/Calendar - activities don't display duration properly #11

Closed nzawirski closed 1 year ago

nzawirski commented 1 year ago

Activity items in journal and calendar need to read value or duration property depending on category unity type. Currently they only read value for activities with unit type QUANTITY.

fix:
if: unit type = QUANTITY then: read value else read duration

Need to check if this doesn't happen in other places