Skip to content

Commit 14673b8

Browse files
author
kobo-bot[bot]
committed
Merge branch 'release/2.025.47'
2 parents 7adc214 + d861759 commit 14673b8

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

jsapp/js/envStore.ts

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ export class EnvStoreData {
130130
public enable_password_entropy_meter = false
131131
public terms_of_service__sitewidemessage__exists = false
132132
public open_rosa_server = ''
133-
public allow_self_account_deletion = true
133+
public allow_self_account_deletion = false
134134

135135
getProjectMetadataField(fieldName: ProjectMetadataFieldKey): EnvStoreFieldItem | boolean {
136136
for (const f of this.project_metadata_fields) {
@@ -223,9 +223,7 @@ class EnvStore {
223223
this.data.free_tier_display = response.free_tier_display
224224
this.data.open_rosa_server = response.open_rosa_server
225225

226-
if (response.allow_self_account_deletion) {
227-
this.data.allow_self_account_deletion = response.allow_self_account_deletion
228-
}
226+
this.data.allow_self_account_deletion = Boolean(response.allow_self_account_deletion)
229227

230228
if (response.sector_choices) {
231229
this.data.sector_choices = response.sector_choices.map(this.nestedArrToChoiceObjs)

0 commit comments

Comments
 (0)