summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorpaladox <thomasmulhall410@yahoo.com>2022-05-23 15:10:05 +0100
committerPaladox none <thomasmulhall410@yahoo.com>2022-05-23 14:51:33 +0000
commit5a0288c485c093b045a62092a722e549782cfc39 (patch)
treedb9c0cb8c824f1e0c7244c1b67731ec73cbb1a65
parent6d5872492e8ef7a05d4814937e911f6a2bb3b28a (diff)
Fix typo in InheritedBooleanInfoConfiguredValue enum
Release-Notes: skip Change-Id: I8064ce1d3bb3d9f2f3834da7a35e040906e54f3d (cherry picked from commit 4d71f28f198379482ab266835e02b55f8cc5a2eb)
-rw-r--r--polygerrit-ui/app/api/rest-api.ts2
-rw-r--r--polygerrit-ui/app/elements/admin/gr-create-change-dialog/gr-create-change-dialog.ts2
2 files changed, 2 insertions, 2 deletions
diff --git a/polygerrit-ui/app/api/rest-api.ts b/polygerrit-ui/app/api/rest-api.ts
index 72712ff1f1..685151b2f3 100644
--- a/polygerrit-ui/app/api/rest-api.ts
+++ b/polygerrit-ui/app/api/rest-api.ts
@@ -130,7 +130,7 @@ export enum HttpMethod {
export enum InheritedBooleanInfoConfiguredValue {
TRUE = 'TRUE',
FALSE = 'FALSE',
- INHERITED = 'INHERITED',
+ INHERIT = 'INHERIT',
}
/**
diff --git a/polygerrit-ui/app/elements/admin/gr-create-change-dialog/gr-create-change-dialog.ts b/polygerrit-ui/app/elements/admin/gr-create-change-dialog/gr-create-change-dialog.ts
index a4ef0c38a1..8e797b7f2d 100644
--- a/polygerrit-ui/app/elements/admin/gr-create-change-dialog/gr-create-change-dialog.ts
+++ b/polygerrit-ui/app/elements/admin/gr-create-change-dialog/gr-create-change-dialog.ts
@@ -273,7 +273,7 @@ export class GrCreateChangeDialog extends LitElement {
return true;
case InheritedBooleanInfoConfiguredValue.FALSE:
return false;
- case InheritedBooleanInfoConfiguredValue.INHERITED:
+ case InheritedBooleanInfoConfiguredValue.INHERIT:
return !!config.inherited_value;
default:
return false;