diff --git a/.changeset/yellow-boxes-jump.md b/.changeset/yellow-boxes-jump.md new file mode 100644 index 0000000000..4764c9c5fe --- /dev/null +++ b/.changeset/yellow-boxes-jump.md @@ -0,0 +1,5 @@ +--- +'@backstage/plugin-catalog-import': patch +--- + +No longer attempt to register locations as optional, since it's ignored. diff --git a/plugins/catalog-import/src/components/StepReviewLocation/StepReviewLocation.tsx b/plugins/catalog-import/src/components/StepReviewLocation/StepReviewLocation.tsx index 5c4f9b9594..7943b6e3b8 100644 --- a/plugins/catalog-import/src/components/StepReviewLocation/StepReviewLocation.tsx +++ b/plugins/catalog-import/src/components/StepReviewLocation/StepReviewLocation.tsx @@ -73,8 +73,6 @@ export const StepReviewLocation = ({ const result = await catalogApi.addLocation({ type: 'url', target: l.target, - presence: - prepareResult.type === 'repository' ? 'optional' : 'required', }); return { target: result.location.target,