From f4014828911831f70c8db7549d08557d9b12c9b8 Mon Sep 17 00:00:00 2001 From: Hannu Lyytikainen Date: Wed, 29 Nov 2017 16:28:38 +0200 Subject: [PATCH] Fix booking states in inbox --- src/containers/InboxPage/InboxPage.js | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/containers/InboxPage/InboxPage.js b/src/containers/InboxPage/InboxPage.js index 30bd6757..e44cf712 100644 --- a/src/containers/InboxPage/InboxPage.js +++ b/src/containers/InboxPage/InboxPage.js @@ -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,