Skip to content

Commit

Permalink
Merge branch '2.1' into 2
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] committed Nov 4, 2023
2 parents c1743fb + fbfbde4 commit c3142e4
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 8 deletions.
1 change: 0 additions & 1 deletion client/src/containers/CampaignAdmin/CampaignAdmin.js
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,6 @@ class CampaignAdmin extends Component {
// NOOP - Lazy loaded in CampaignAdminList.js
break;
case 'edit':
// @todo - Lazy load in FormBuilderLoader / GridField
breadcrumbs.push({
text: title,
href: this.getActionRoute(id, view),
Expand Down
2 changes: 0 additions & 2 deletions client/src/containers/CampaignAdmin/CampaignAdminItem.js
Original file line number Diff line number Diff line change
Expand Up @@ -114,8 +114,6 @@ class CampaignAdminItem extends Component {
const badge = {};
const { campaign, item } = this.props;

// @todo customise these status messages for already-published changesets

// Change badge. If the campaign has been published,
// don't apply a badge at all
if (campaign.State === 'open') {
Expand Down
5 changes: 0 additions & 5 deletions src/CampaignAdmin.php
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,6 @@ public function getClientConfig()
return array_merge(parent::getClientConfig(), [
'reactRouter' => true,
'form' => [
// TODO Use schemaUrl instead
'EditForm' => [
'schemaUrl' => $this->Link('schema/EditForm')
],
Expand Down Expand Up @@ -601,9 +600,6 @@ public function campaignEditForm($request)
}

/**
* @todo Use GridFieldDetailForm once it can handle structured data and form schemas
* @todo move to FormBuilder
*
* @param int $id
* @return Form
*/
Expand Down Expand Up @@ -684,7 +680,6 @@ public function campaignCreateForm($request)

/**
* Build create form
* @todo Move to form builder
*
* @return Form
*/
Expand Down

0 comments on commit c3142e4

Please sign in to comment.