File tree Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Original file line number Diff line number Diff 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 )
You can’t perform that action at this time.
0 commit comments