diff options
author | 2023-09-16 00:28:21 +0200 | |
---|---|---|
committer | 2023-09-16 02:21:41 +0200 | |
commit | 4f1d586dc24e1f66ab6d07218755423a80e0c615 (patch) | |
tree | 7da3144f834f7ae1adb24d2caa532e7da313ee43 /subprojects/frontend/src/graph/RelationName.tsx | |
parent | Merge pull request #40 from kris7t/update-readme (diff) | |
download | refinery-4f1d586dc24e1f66ab6d07218755423a80e0c615.tar.gz refinery-4f1d586dc24e1f66ab6d07218755423a80e0c615.tar.zst refinery-4f1d586dc24e1f66ab6d07218755423a80e0c615.zip |
build: fix Sonar quality gate issues
Removes VIATRA sources from coverage anaylsis, since those files are maintained
by the VIATRA project.
Diffstat (limited to 'subprojects/frontend/src/graph/RelationName.tsx')
-rw-r--r-- | subprojects/frontend/src/graph/RelationName.tsx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/subprojects/frontend/src/graph/RelationName.tsx b/subprojects/frontend/src/graph/RelationName.tsx index ec26fb21..e651cb87 100644 --- a/subprojects/frontend/src/graph/RelationName.tsx +++ b/subprojects/frontend/src/graph/RelationName.tsx | |||
@@ -9,7 +9,7 @@ import { observer } from 'mobx-react-lite'; | |||
9 | 9 | ||
10 | import { RelationMetadata } from '../xtext/xtextServiceResults'; | 10 | import { RelationMetadata } from '../xtext/xtextServiceResults'; |
11 | 11 | ||
12 | const Error = styled('span', { | 12 | const ErrorPredicateName = styled('span', { |
13 | name: 'RelationName-Error', | 13 | name: 'RelationName-Error', |
14 | })(({ theme }) => ({ | 14 | })(({ theme }) => ({ |
15 | color: theme.palette.error.main, | 15 | color: theme.palette.error.main, |
@@ -36,7 +36,7 @@ const FormattedName = observer(function FormattedName({ | |||
36 | return <b>{name}</b>; | 36 | return <b>{name}</b>; |
37 | } | 37 | } |
38 | if (detail.type === 'predicate' && detail.error) { | 38 | if (detail.type === 'predicate' && detail.error) { |
39 | return <Error>{name}</Error>; | 39 | return <ErrorPredicateName>{name}</ErrorPredicateName>; |
40 | } | 40 | } |
41 | return name; | 41 | return name; |
42 | }); | 42 | }); |