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
@@ -30,8 +30,8 @@ export const Router = ({ entity }: { entity: Entity }) =>
// TODO(shmidt-i): move warning to a separate standardized component
!isPluginApplicableToEntity(entity) ? (
<WarningPanel title=" GitHubActions plugin:">
`entity.metadata.annotations['
{GITHUB_ACTIONS_ANNOTATION}']` key is missing on the entity.{' '}
<pre>{GITHUB_ACTIONS_ANNOTATION}</pre> annotation is missing on the
entity.
</WarningPanel>
) : (
<Routes>