Skip to content

Commit

Permalink
fix for passive hb
Browse files Browse the repository at this point in the history
  • Loading branch information
Nick Taras authored and Nick Taras committed Aug 10, 2023
1 parent d4b1f89 commit ad6c279
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions hotel-bogota-passive-negotiation-website/src/App.js
Original file line number Diff line number Diff line change
Expand Up @@ -131,10 +131,10 @@ function App() {
let wasMatch = false;
selectedPendingTokenInstances?.forEach((storedTicket) => {
// add tickets that were not a match back in place.
if (storedTicket.ticketIdNumber === ticket.ticketIdNumber) {
if (storedTicket.tokenId === ticket.tokenId) {
wasMatch = true;
}
if (storedTicket.ticketIdNumber !== ticket.ticketIdNumber) {
if (storedTicket.tokenId !== ticket.tokenId) {
updatedTicketSelection.push(storedTicket);
}
});
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ function TokenCard({
let tokenSelected = false;

selectedPendingTokenInstances?.forEach((ticket) => {
if (tokenInstance.ticketIdNumber === ticket.ticketIdNumber) {
if (tokenInstance.tokenId === ticket.tokenId) {
tokenSelected = true;
}
});
Expand Down

0 comments on commit ad6c279

Please sign in to comment.