pollination-react-io 1.92.6 → 1.92.7

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,10 +56449,6 @@ 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]);
56456
56452
  /**
56457
56453
  * Manage hover effect
56458
56454
  */
@@ -56704,7 +56700,9 @@ var RunCard = function (_a) {
56704
56700
  } },
56705
56701
  React__default.createElement(XOctagon$1, { style: { display: 'inline', margin: '0 5px 0 0' } }),
56706
56702
  " Cancel"),
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) {
56703
+ React__default.createElement(Button, { style: { marginRight: '0.75rem' }, disabled: !run || !run.status ||
56704
+ ![dist$1.RunStatusEnum.Failed, dist$1.RunStatusEnum.Cancelled].includes(run.status.status) ||
56705
+ daysSinceFinished >= 14, onClick: function (e) {
56708
56706
  e.stopPropagation();
56709
56707
  if (!run)
56710
56708
  return;