pollination-react-io 1.92.5 → 1.92.6

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.
@@ -56449,6 +56449,10 @@ var RunCard = function (_a) {
56449
56449
  return undefined;
56450
56450
  return dayjs_min().diff(dayjs_min(run.status.finished_at), 'day');
56451
56451
  }, [run]);
56452
+ // Test for debug purposes
56453
+ useEffect(function () {
56454
+ console.log('Days since finished', daysSinceFinished);
56455
+ }, [daysSinceFinished]);
56452
56456
  /**
56453
56457
  * Manage hover effect
56454
56458
  */
@@ -56700,10 +56704,7 @@ var RunCard = function (_a) {
56700
56704
  } },
56701
56705
  React__default.createElement(XOctagon$1, { style: { display: 'inline', margin: '0 5px 0 0' } }),
56702
56706
  " Cancel"),
56703
- React__default.createElement(Button, { style: { marginRight: '0.75rem' }, disabled: !run || !run.status || !daysSinceFinished ||
56704
- ![dist$1.RunStatusEnum.Failed, dist$1.RunStatusEnum.Cancelled].includes(run.status.status) ||
56705
- // Cannot retry runs that are more than 14 days old because the workspace is deleted
56706
- daysSinceFinished >= 14, onClick: function (e) {
56707
+ React__default.createElement(Button, { style: { marginRight: '0.75rem' }, disabled: !run || !run.status || ![dist$1.RunStatusEnum.Failed, dist$1.RunStatusEnum.Cancelled].includes(run.status.status), onClick: function (e) {
56707
56708
  e.stopPropagation();
56708
56709
  if (!run)
56709
56710
  return;