Skip to content

Commit

Permalink
reporter-web-app: Rename 'Violations' tab in SummaryView
Browse files Browse the repository at this point in the history
Align naming with ORT's API naming see for example ORT documentation in [1]
and [2] where 'policy rule violation' and `rule_violations` is used.

[1]: https://github.com/oss-review-toolkit/ort/blob/master/docs/config-file-ort-yml.md#resolving-policy-rule-violations
[2]: https://github.com/oss-review-toolkit/ort/blob/master/docs/file-rules-kts.md

Relates-to: #4395
Signed-off-by: Thomas Steenbergen <thomas.steenbergen@here.com>
  • Loading branch information
tsteenbe committed Sep 17, 2021
1 parent 3591c9a commit 3563dea
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion reporter-web-app/src/components/SummaryView.js
Original file line number Diff line number Diff line change
Expand Up @@ -361,7 +361,7 @@ class SummaryView extends React.Component {
tab={(
<span>
<ExceptionOutlined />
Violations (
Rule Violations (
{
ruleViolations.length !== unresolvedRuleViolations
&& `${unresolvedRuleViolations}/`
Expand Down

0 comments on commit 3563dea

Please sign in to comment.