Skip to content
This repository has been archived by the owner on Apr 18, 2024. It is now read-only.

Commit

Permalink
queuePosition should not be null
Browse files Browse the repository at this point in the history
  • Loading branch information
Travis1282 committed Sep 15, 2023
1 parent 8861e6f commit f04744c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/sdk/lsf-sdk.js
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@ export class LSFWrapper {
const queueTotal = dm.store.project.reviewer_queue_total || dm.store.project.queue_total;
const queueDone = dm.store.project.queue_done;
const queueLeft = dm.store.project.queue_left;
const queuePosition = queueDone ? queueDone + 1 : queueLeft ? queueTotal - queueLeft + 1 : null;
const queuePosition = queueDone ? queueDone + 1 : queueLeft ? queueTotal - queueLeft + 1 : 1;

const lsfProperties = {
// ensure that we are able to distinguish at component level if the app has fully hydrated.
Expand Down

0 comments on commit f04744c

Please sign in to comment.