aboutsummaryrefslogtreecommitdiffstats
path: root/subprojects/frontend
diff options
context:
space:
mode:
authorLibravatar Kristóf Marussy <kristof@marussy.com>2023-09-16 00:28:21 +0200
committerLibravatar Kristóf Marussy <kristof@marussy.com>2023-09-16 02:21:41 +0200
commit4f1d586dc24e1f66ab6d07218755423a80e0c615 (patch)
tree7da3144f834f7ae1adb24d2caa532e7da313ee43 /subprojects/frontend
parentMerge pull request #40 from kris7t/update-readme (diff)
downloadrefinery-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')
-rw-r--r--subprojects/frontend/src/graph/RelationName.tsx4
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
10import { RelationMetadata } from '../xtext/xtextServiceResults'; 10import { RelationMetadata } from '../xtext/xtextServiceResults';
11 11
12const Error = styled('span', { 12const 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});