Skip to content

Commit

Permalink
Merge pull request #4890 from HSLdevcom/DT-6144
Browse files Browse the repository at this point in the history
chore: temporarily map full status to crushed standing room only
  • Loading branch information
optionsome authored Nov 21, 2023
2 parents a92a853 + 4387cfc commit d65ad5f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions app/component/CapacityModal.js
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ const CapacityModal = ({ config }) => {
/>
</p>
</section>
<section>
{/* <section>
<div className="capacity-info-row">
<div className="icon">
<Icon
Expand All @@ -147,7 +147,7 @@ const CapacityModal = ({ config }) => {
defaultMessage="No seats or standing room available"
/>
</p>
</section>
</section> */}
</div>
);
};
Expand Down
4 changes: 2 additions & 2 deletions app/util/occupancyUtil.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ export function mapStatus(status) {
case 'EMPTY':
return 'MANY_SEATS_AVAILABLE';
case 'NOT_ACCEPTING_PASSENGERS':
return 'FULL';
return 'CRUSHED_STANDING_ROOM_ONLY';
case 'MANY_SEATS_AVAILABLE':
return 'MANY_SEATS_AVAILABLE';
case 'FEW_SEATS_AVAILABLE':
Expand All @@ -20,7 +20,7 @@ export function mapStatus(status) {
case 'CRUSHED_STANDING_ROOM_ONLY':
return 'CRUSHED_STANDING_ROOM_ONLY';
case 'FULL':
return 'FULL';
return 'CRUSHED_STANDING_ROOM_ONLY';
default:
return 'NO_DATA_AVAILABLE';
}
Expand Down

0 comments on commit d65ad5f

Please sign in to comment.