@contentful/field-editor-reference 2.20.10 → 2.20.11

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.
@@ -597,18 +597,18 @@ function CombinedAssetLinkActions(props) {
597
597
  }, createElement(DropdownList, {
598
598
  testId: testIds$1.dropdown
599
599
  }, createElement(DropdownListItem, {
600
- testId: testIds$1.createAndLink,
600
+ testId: testIds$1.linkExisting,
601
601
  onClick: function onClick() {
602
602
  setOpen(false);
603
- props.onCreate();
603
+ props.onLinkExisting();
604
604
  }
605
- }, "Add new media"), createElement(DropdownListItem, {
606
- testId: testIds$1.linkExisting,
605
+ }, "Add existing media"), createElement(DropdownListItem, {
606
+ testId: testIds$1.createAndLink,
607
607
  onClick: function onClick() {
608
608
  setOpen(false);
609
- props.onLinkExisting();
609
+ props.onCreate();
610
610
  }
611
- }, "Add existing media")));
611
+ }, "Add new media")));
612
612
  }
613
613
 
614
614
  var card = /*#__PURE__*/css({