diff --git a/plugins/circleci/src/components/Router.tsx b/plugins/circleci/src/components/Router.tsx index 476ab26576..282eac9111 100644 --- a/plugins/circleci/src/components/Router.tsx +++ b/plugins/circleci/src/components/Router.tsx @@ -30,8 +30,7 @@ export const isPluginApplicableToEntity = (entity: Entity) => export const Router = ({ entity }: { entity: Entity }) => !isPluginApplicableToEntity(entity) ? ( - `entity.metadata.annotations['{CIRCLECI_ANNOTATION}']` key is missing on - the entity. +
{CIRCLECI_ANNOTATION}
annotation is missing on the entity.
) : ( diff --git a/plugins/github-actions/src/components/Router.tsx b/plugins/github-actions/src/components/Router.tsx index 83c18ed483..7d340fb8b8 100644 --- a/plugins/github-actions/src/components/Router.tsx +++ b/plugins/github-actions/src/components/Router.tsx @@ -30,8 +30,8 @@ export const Router = ({ entity }: { entity: Entity }) => // TODO(shmidt-i): move warning to a separate standardized component !isPluginApplicableToEntity(entity) ? ( - `entity.metadata.annotations[' - {GITHUB_ACTIONS_ANNOTATION}']` key is missing on the entity.{' '} +
{GITHUB_ACTIONS_ANNOTATION}
annotation is missing on the + entity.
) : ( diff --git a/plugins/rollbar/src/components/Router.tsx b/plugins/rollbar/src/components/Router.tsx index c765c14f14..bcf325f281 100644 --- a/plugins/rollbar/src/components/Router.tsx +++ b/plugins/rollbar/src/components/Router.tsx @@ -32,10 +32,7 @@ type Props = { export const Router = ({ entity }: Props) => !isPluginApplicableToEntity(entity) ? ( -
-        entity.metadata.annotations['{ROLLBAR_ANNOTATION}']` key is missing on
-        the entity.
-      
+
{ROLLBAR_ANNOTATION}
annotation is missing on the entity.
) : (