Hotfix/6.0.2 (#94)

* hotfix/6.0.2 fix issue where events could not have an ID
* hotfix/6.0.2 version bump
* hotfix/6.0.2 testing
This commit is contained in:
Carlos Valente
2022-01-14 22:11:33 +01:00
committed by GitHub
parent acb5d8ae08
commit 79a24a134e
6 changed files with 41 additions and 37 deletions
@@ -17,7 +17,7 @@ import PropTypes from 'prop-types';
const ExpandedBlock = (props) => {
const { provided, data, eventIndex, next, delay, delayValue, previousEnd, actionHandler } = props;
const oscid = data.id.length > 4 ? '...' : data.id;
const oscid = data?.id || '...';
// if end is before, assume is the day after
const duration =