Fix booking states in inbox

This commit is contained in:
Hannu Lyytikainen 2017-11-29 16:28:38 +02:00
parent 86fe4e0fd1
commit f401482891

View file

@ -73,7 +73,11 @@ const txState = (intl, tx, isOrder) => {
id: 'InboxPage.stateCanceled',
}),
};
} else if (propTypes.txIsDelivered(tx)) {
} else if (
propTypes.txIsDelivered(tx) ||
propTypes.txHasFirstReview(tx) ||
propTypes.txIsReviewed(tx)
) {
return {
nameClassName: css.nameDelivered,
bookingClassName: css.bookingDelivered,