Skip to content

Commit

Permalink
display Cancel and Delay buttons in the In preparation and Ready states
Browse files Browse the repository at this point in the history
  • Loading branch information
vladimir-8 committed May 31, 2024
1 parent 7dc9050 commit 35d2710
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/navigation/restaurant/Order.js
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ class OrderScreen extends Component {
}
/>
)}
{canEdit && order.state === 'accepted' && (
{canEdit && (order.state === 'accepted' || order.state === 'started' || order.state === 'ready') && (
<OrderAcceptedFooter
order={order}
onPressCancel={() =>
Expand Down

0 comments on commit 35d2710

Please sign in to comment.