fix: annotation missing text

This commit is contained in:
Ivan Shmidt
2020-09-07 22:32:47 +02:00
parent 37e72cf457
commit b745142fa0
3 changed files with 4 additions and 8 deletions
+1 -2
View File
@@ -30,8 +30,7 @@ export const isPluginApplicableToEntity = (entity: Entity) =>
export const Router = ({ entity }: { entity: Entity }) =>
!isPluginApplicableToEntity(entity) ? (
<WarningPanel title="CircleCI plugin:">
`entity.metadata.annotations['{CIRCLECI_ANNOTATION}']` key is missing on
the entity.
<pre>{CIRCLECI_ANNOTATION}</pre> annotation is missing on the entity.
</WarningPanel>
) : (
<Routes>