tf-checkout-react 1.2.29 → 1.2.30

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -944,7 +944,7 @@ var getQueryVariable = function getQueryVariable(variable) {
944
944
  var pair = vars[i].split('=');
945
945
 
946
946
  if (pair[0] === variable) {
947
- return pair[1];
947
+ return decodeURIComponent(pair[1]);
948
948
  }
949
949
  }
950
950
  }
@@ -6207,7 +6207,7 @@ var TicketsTable = function TicketsTable(_ref) {
6207
6207
  return _map(columns, function (column, columnIndex) {
6208
6208
  if (column.key === 'download') {
6209
6209
  var ticketIsDownloading = pdfDownload.loading && pdfDownload.hash === ticket.hash;
6210
- if (ticket.pdf_link && ticket.status === 'Sold') return null;
6210
+ if (!ticket.pdf_link || ticket.status === 'Sold' || ticket.is_on_sale) return null;
6211
6211
  return React__default.createElement(TableCell, {
6212
6212
  key: columnIndex
6213
6213
  }, Boolean(icon) && React__default.createElement("img", {