Skip to content

Commit a79043d

Browse files
committed
wings. fix missing parent properties
1 parent 9b24730 commit a79043d

File tree

3 files changed

+9
-9
lines changed

3 files changed

+9
-9
lines changed

wings/src/components/social/FacebookPage.vue

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
</div>
1212
</div>
1313
<div
14-
v-if="authorized && $parent.hotspot.preferences.marketing_0_reason_country == 'true' && hotspot.preferences.check_marketing == 'false' && userId != 0"
14+
v-if="authorized && $parent.hotspot.preferences.marketing_0_reason_country == 'true' && $parent.hotspot.preferences.check_marketing == 'false' && userId != 0"
1515
>
1616
<h3 :style="textStyle">{{ $t("login.additional_info") }}</h3>
1717
<div class="field">
@@ -45,11 +45,11 @@
4545
v-if="authorized"
4646
>
4747
<div class="conditions-surveys">
48-
<div class="ui inline" v-if="hotspot.preferences.check_marketing == 'false'">
48+
<div class="ui inline" v-if="$parent.hotspot.preferences.check_marketing == 'false'">
4949
<input id="conditions" v-model="conditions" type="checkbox" class="ui checkbox field" />
5050
<label :style="textStyle" for="conditions">{{ $t("login.disclaimer_privacy_accept") }}</label>
5151
</div>
52-
<div v-if="$parent.hotspot.preferences.marketing_1_enabled == 'true' && hotspot.preferences.check_marketing == 'false'" class="ui inline">
52+
<div v-if="$parent.hotspot.preferences.marketing_1_enabled == 'true' && $parent.hotspot.preferences.check_marketing == 'false'" class="ui inline">
5353
<input id="surveys" v-model="surveys" type="checkbox" class="ui checkbox field" />
5454
<label :style="textStyle" for="surveys">{{ $t("login.disclaimer_survey_accept") }}</label>
5555
</div>

wings/src/components/social/InstagramPage.vue

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
</div>
1212
</div>
1313
<div
14-
v-if="authorized && $parent.hotspot.preferences.marketing_0_reason_country == 'true' && hotspot.preferences.check_marketing == 'false' && userId != 0"
14+
v-if="authorized && $parent.hotspot.preferences.marketing_0_reason_country == 'true' && $parent.hotspot.preferences.check_marketing == 'false' && userId != 0"
1515
>
1616
<h3 :style="textStyle">{{ $t("login.additional_info") }}</h3>
1717
<div class="field">
@@ -45,11 +45,11 @@
4545
v-if="authorized"
4646
>
4747
<div class="conditions-surveys">
48-
<div class="ui inline" v-if="hotspot.preferences.check_marketing == 'false'">
48+
<div class="ui inline" v-if="$parent.hotspot.preferences.check_marketing == 'false'">
4949
<input id="conditions" v-model="conditions" type="checkbox" class="ui checkbox field" />
5050
<label :style="textStyle" for="conditions">{{ $t("login.disclaimer_privacy_accept") }}</label>
5151
</div>
52-
<div v-if="$parent.hotspot.preferences.marketing_1_enabled == 'true' && hotspot.preferences.check_marketing == 'false'" class="ui inline">
52+
<div v-if="$parent.hotspot.preferences.marketing_1_enabled == 'true' && $parent.hotspot.preferences.check_marketing == 'false'" class="ui inline">
5353
<input id="surveys" v-model="surveys" type="checkbox" class="ui checkbox field" />
5454
<label :style="textStyle" for="surveys">{{ $t("login.disclaimer_survey_accept") }}</label>
5555
</div>

wings/src/components/social/LinkedInPage.vue

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
</div>
1212
</div>
1313
<div
14-
v-if="authorized && $parent.hotspot.preferences.marketing_0_reason_country == 'true' && hotspot.preferences.check_marketing == 'false' && userId != 0"
14+
v-if="authorized && $parent.hotspot.preferences.marketing_0_reason_country == 'true' && $parent.hotspot.preferences.check_marketing == 'false' && userId != 0"
1515
>
1616
<h3 :style="textStyle">{{ $t("login.additional_info") }}</h3>
1717
<div class="field">
@@ -45,11 +45,11 @@
4545
v-if="authorized"
4646
>
4747
<div class="conditions-surveys">
48-
<div class="ui inline" v-if="hotspot.preferences.check_marketing == 'false'">
48+
<div class="ui inline" v-if="$parent.hotspot.preferences.check_marketing == 'false'">
4949
<input id="conditions" v-model="conditions" type="checkbox" class="ui checkbox field" />
5050
<label :style="textStyle" for="conditions">{{ $t("login.disclaimer_privacy_accept") }}</label>
5151
</div>
52-
<div v-if="$parent.hotspot.preferences.marketing_1_enabled == 'true' && hotspot.preferences.check_marketing == 'false'" class="ui inline">
52+
<div v-if="$parent.hotspot.preferences.marketing_1_enabled == 'true' && $parent.hotspot.preferences.check_marketing == 'false'" class="ui inline">
5353
<input id="surveys" v-model="surveys" type="checkbox" class="ui checkbox field" />
5454
<label :style="textStyle" for="surveys">{{ $t("login.disclaimer_survey_accept") }}</label>
5555
</div>

0 commit comments

Comments
 (0)