No mdash if no end time
This commit is contained in:
1 parent
51aed025a3
commit
8e1d37be93
1 file changed
+1
-2
@@ -75,8 +75,7 @@ export const EventTemplate = ({
|
||||
<div className="event-time">
|
||||
{/* TODO: make the API stop assuming event duration is 2 hours when unspecified? */}
|
||||
kl. {moment(startTime).format('HH:mm')}
|
||||
—
|
||||
{endTime && moment(endTime).format('HH:mm')}
|
||||
{endTime && '—' + moment(endTime).format('HH:mm')}
|
||||
</div>
|
||||
<div className="price">
|
||||
Pris: {formatPrices(priceRegular, priceStudent)}
|
||||
|
||||
Reference in new issue
Block a user