Skip to content

Commit 575cbc1

Browse files
committed
refactor: write param in camal case instead of snake case #1571
1 parent f9bc527 commit 575cbc1

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

frontend/src/app/components/key-result-type/key-result-type.component.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -143,9 +143,9 @@ export class KeyResultTypeComponent implements AfterContentInit {
143143
}
144144
}
145145

146-
setFormControlValueToZero(formGroupMetric: any, form_control: string) {
147-
if (formGroupMetric.get(form_control) && !formGroupMetric.get(form_control).value) {
148-
formGroupMetric.get(form_control)
146+
setFormControlValueToZero(formGroupMetric: any, formControl: string) {
147+
if (formGroupMetric.get(formControl) && !formGroupMetric.get(formControl).value) {
148+
formGroupMetric.get(formControl)
149149
.setValue(0, { emitEvent: false });
150150
}
151151
}

0 commit comments

Comments
 (0)