Rename Inherent to Initial in risk module UI
Several risk views already used "Initial" while others still showed "Inherent". Align user-facing labels across the console, shared UI components, CLI help, n8n fields, generated documents, and MCP descriptions. API and database field names are unchanged. Signed-off-by: Cursor Agent <cursoragent@cursor.com> Co-authored-by: Bryan FRIMIN <bryan@frimin.fr>
This commit is contained in:
committed by
Bryan Frimin
parent
aba2ef4cc2
commit
e5c7cf9b9c
@@ -97,7 +97,7 @@ export const description: INodeProperties[] = [
|
||||
required: true,
|
||||
},
|
||||
{
|
||||
displayName: 'Inherent Likelihood',
|
||||
displayName: 'Initial Likelihood',
|
||||
name: 'inherentLikelihood',
|
||||
type: 'number',
|
||||
displayOptions: {
|
||||
@@ -111,11 +111,11 @@ export const description: INodeProperties[] = [
|
||||
maxValue: 5,
|
||||
},
|
||||
default: 1,
|
||||
description: 'The inherent likelihood of the risk (1-5)',
|
||||
description: 'The initial likelihood of the risk (1-5)',
|
||||
required: true,
|
||||
},
|
||||
{
|
||||
displayName: 'Inherent Impact',
|
||||
displayName: 'Initial Impact',
|
||||
name: 'inherentImpact',
|
||||
type: 'number',
|
||||
displayOptions: {
|
||||
@@ -129,7 +129,7 @@ export const description: INodeProperties[] = [
|
||||
maxValue: 5,
|
||||
},
|
||||
default: 1,
|
||||
description: 'The inherent impact of the risk (1-5)',
|
||||
description: 'The initial impact of the risk (1-5)',
|
||||
required: true,
|
||||
},
|
||||
{
|
||||
|
||||
@@ -115,7 +115,7 @@ export const description: INodeProperties[] = [
|
||||
description: 'The description of the risk',
|
||||
},
|
||||
{
|
||||
displayName: 'Inherent Impact',
|
||||
displayName: 'Initial Impact',
|
||||
name: 'inherentImpact',
|
||||
type: 'number',
|
||||
typeOptions: {
|
||||
@@ -123,10 +123,10 @@ export const description: INodeProperties[] = [
|
||||
maxValue: 5,
|
||||
},
|
||||
default: 1,
|
||||
description: 'The inherent impact of the risk (1-5)',
|
||||
description: 'The initial impact of the risk (1-5)',
|
||||
},
|
||||
{
|
||||
displayName: 'Inherent Likelihood',
|
||||
displayName: 'Initial Likelihood',
|
||||
name: 'inherentLikelihood',
|
||||
type: 'number',
|
||||
typeOptions: {
|
||||
@@ -134,7 +134,7 @@ export const description: INodeProperties[] = [
|
||||
maxValue: 5,
|
||||
},
|
||||
default: 1,
|
||||
description: 'The inherent likelihood of the risk (1-5)',
|
||||
description: 'The initial likelihood of the risk (1-5)',
|
||||
},
|
||||
{
|
||||
displayName: 'Note',
|
||||
|
||||
@@ -88,7 +88,7 @@ export function RisksChart({ organizationId, type, risks }: Props) {
|
||||
<div className="flex justify-between items-center mb-6">
|
||||
<h2 className="font-semibold text-lg">
|
||||
{type === "inherent"
|
||||
? __("Inherent Risk")
|
||||
? __("Initial Risk")
|
||||
: __("Residual Risk")}
|
||||
</h2>
|
||||
<div className="flex gap-3">
|
||||
|
||||
Reference in New Issue
Block a user