aboutsummaryrefslogtreecommitdiffstats
path: root/vid-webpack-master/src/app/shared
diff options
context:
space:
mode:
Diffstat (limited to 'vid-webpack-master/src/app/shared')
-rwxr-xr-xvid-webpack-master/src/app/shared/components/formControls/component/checkbox/checkbox.formControl.component.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/vid-webpack-master/src/app/shared/components/formControls/component/checkbox/checkbox.formControl.component.html b/vid-webpack-master/src/app/shared/components/formControls/component/checkbox/checkbox.formControl.component.html
index d68d21d99..2841f5c10 100755
--- a/vid-webpack-master/src/app/shared/components/formControls/component/checkbox/checkbox.formControl.component.html
+++ b/vid-webpack-master/src/app/shared/components/formControls/component/checkbox/checkbox.formControl.component.html
@@ -6,7 +6,7 @@
name="{{data?.controlName}}"
[formControl]="form?.controls[data?.controlName]"
data-toggle="toggle">
- <label class="checkbox-label" [ngStyle]="{'float' : data.extraContents.length > 0 ? 'left' : 'none'}"
+ <label class="checkbox-label" [ngStyle]="{'float' : data.extraContents && data.extraContents.length > 0 ? 'left' : 'none'}"
for="{{data?.dataTestId}}">{{data?.displayName}}</label>
<div *ngFor="let extraContent of data?.extraContents" class="form-conrtols">
<div [ngSwitch]="extraContent.type">