Skip to content

Commit

Permalink
UIREQ-1040 - add console statements
Browse files Browse the repository at this point in the history
  • Loading branch information
Terala-Priyanka committed Nov 14, 2023
1 parent ca83ef4 commit 375e09b
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/ViewRequest.js
Original file line number Diff line number Diff line change
Expand Up @@ -487,6 +487,8 @@ class ViewRequest extends React.Component {
const isRequestValid = isValidRequest(request);
const isDCBTransaction = isVirtualPatron(requester?.personal?.lastName) || isVirtualItem(request?.instanceId, request?.holdingsRecordId);

console.log('[ViewRequest.js] isDCBTransaction ', isDCBTransaction);

Check warning on line 490 in src/ViewRequest.js

View workflow job for this annotation

GitHub Actions / github-actions-ci

Unexpected console statement

Check warning on line 490 in src/ViewRequest.js

View workflow job for this annotation

GitHub Actions / github-actions-ci

Unexpected console statement

let deliveryAddressDetail;
let selectedDelivery = false;

Expand Down Expand Up @@ -515,6 +517,8 @@ class ViewRequest extends React.Component {
|| stripes.hasPerm('ui-requests.moveRequest')
|| stripes.hasPerm('ui-requests.reorderQueue') || !isDCBTransaction;

console.log('[ViewRequest.js] showActionMenu ', showActionMenu);

Check warning on line 520 in src/ViewRequest.js

View workflow job for this annotation

GitHub Actions / github-actions-ci

Unexpected console statement

Check warning on line 520 in src/ViewRequest.js

View workflow job for this annotation

GitHub Actions / github-actions-ci

Unexpected console statement

const actionMenu = ({ onToggle }) => {
if (isRequestClosed) {
if (!isRequestValid || (requestLevel === REQUEST_LEVEL_TYPES.TITLE && !titleLevelRequestsFeatureEnabled)) {
Expand Down

0 comments on commit 375e09b

Please sign in to comment.