diff --git a/.changeset/purple-brooms-trade.md b/.changeset/purple-brooms-trade.md new file mode 100644 index 0000000000..f9b42420d3 --- /dev/null +++ b/.changeset/purple-brooms-trade.md @@ -0,0 +1,5 @@ +--- +'@backstage/plugin-catalog': patch +--- + +Fix whitespace around variable in unregister error dialog box diff --git a/.github/styles/vocab.txt b/.github/styles/vocab.txt index 2991a6babd..48f2f81d9f 100644 --- a/.github/styles/vocab.txt +++ b/.github/styles/vocab.txt @@ -249,6 +249,7 @@ transpilation Tuite ui unmanaged +unregister untracked upvote url diff --git a/plugins/catalog/src/components/UnregisterEntityDialog/UnregisterEntityDialog.tsx b/plugins/catalog/src/components/UnregisterEntityDialog/UnregisterEntityDialog.tsx index 06ea1eee27..ef4196e9c5 100644 --- a/plugins/catalog/src/components/UnregisterEntityDialog/UnregisterEntityDialog.tsx +++ b/plugins/catalog/src/components/UnregisterEntityDialog/UnregisterEntityDialog.tsx @@ -110,7 +110,7 @@ export const UnregisterEntityDialog = ({ {error.name === 'DeniedLocationException' ? ( <> You cannot unregister this entity, since it originates from a - protected Backstage configuration (location + protected Backstage configuration (location{' '} {`"${(error as DeniedLocationException).locationName}"`}). If you believe this is in error, please contact the{' '} {configApi.getOptionalString('app.title') ?? 'Backstage'}{' '}