fix(calendar): fix crash when no data is empty
fix(calendar): fix crash when no data is empty

* Fix error when no data is available

* Check for data array length

* Run formatter and linter

plouc/nivo,plouc/nivo,plouc/nivo