pollination-react-io 1.96.0 → 1.96.2

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.
@@ -56489,7 +56489,9 @@ var StudyCard = function (_a) {
56489
56489
  } },
56490
56490
  React__default.createElement(Trash$1, { style: { display: 'inline', margin: '0 5px 0 0' } }),
56491
56491
  " Delete"),
56492
- React__default.createElement(Button, { style: (width > 600) ? { display: 'inline' } : { display: 'inline', float: 'left' }, disabled: !study || (study.status.runs_pending < 1 && study.status.runs_running < 1), onClick: function (e) {
56492
+ React__default.createElement(Button, { style: (width > 600) ?
56493
+ { display: 'inline', margin: '0 10px 0 0' }
56494
+ : { display: 'inline', float: 'left', margin: '0 10px 0 0' }, disabled: !study || (study.status.runs_pending < 1 && study.status.runs_running < 1), onClick: function (e) {
56493
56495
  e.stopPropagation();
56494
56496
  if (!study)
56495
56497
  return;
@@ -56499,7 +56501,7 @@ var StudyCard = function (_a) {
56499
56501
  } },
56500
56502
  React__default.createElement(XOctagon$1, { style: { display: 'inline', margin: '0 5px 0 0' } }),
56501
56503
  " Cancel"),
56502
- React__default.createElement(Button, { style: (width > 600) ? { display: 'inline' } : { display: 'inline', float: 'left' }, disabled: !study || (study.status.runs_cancelled < 1 || study.status.runs_failed < 1), loading: retryLoading, onClick: function (e) {
56504
+ React__default.createElement(Button, { style: (width > 600) ? { display: 'inline' } : { display: 'inline', float: 'left' }, disabled: !study || (study.status.runs_cancelled == 0 && study.status.runs_failed == 0), loading: retryLoading, onClick: function (e) {
56503
56505
  setRetryLoading(true);
56504
56506
  e.stopPropagation();
56505
56507
  if (!study)