Skip to content

Commit

Permalink
use request_type instead of readabale_request_type to determine RO
Browse files Browse the repository at this point in the history
  • Loading branch information
rubaiyat22 authored and rubaiyat22 committed Sep 15, 2020
1 parent 2eb2d81 commit d85527d
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion client/app/hearings/components/dailyDocket/DailyDocket.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,9 @@ export default class DailyDocket extends React.Component {
getRegionalOffice = () => {
const { dailyDocket } = this.props;

return dailyDocket.readableRequestType === 'Central' ? 'C' : dailyDocket.regionalOfficeKey;
// for Central hearing days, return 'C'
// Otherwise assume it's a video hearing day and return RO key
return dailyDocket.requestType === 'C' ? 'C' : dailyDocket.regionalOfficeKey
};

openDispositionModal = ({ hearing, fromDisposition, toDisposition, onConfirm, onCancel }) => {
Expand Down

0 comments on commit d85527d

Please sign in to comment.