Skip to content

Commit 259b8d2

Browse files
jonadelinejrmi
andauthored
fix: prevent OIDC/SAML form crashes when editing a user source (baserow#5242)
--------- Co-authored-by: Jeremie Pardou <571533+jrmi@users.noreply.github.com>
1 parent 2997789 commit 259b8d2

2 files changed

Lines changed: 11 additions & 2 deletions

File tree

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
{
2+
"type": "bug",
3+
"message": "prevent OIDC/SAML form crashes when editing a user source in the application builder",
4+
"issue_origin": "github",
5+
"issue_number": 5226,
6+
"domain": "builder",
7+
"bullet_points": [],
8+
"created_at": "2026-04-21"
9+
}

web-frontend/modules/builder/components/userSource/UpdateUserSourceForm.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@
7777
>
7878
<component
7979
:is="appAuthType.formComponent"
80-
v-if="hasAtLeastOneOfThisType(appAuthType)"
80+
v-if="hasAtLeastOneOfThisType(appAuthType) && fullValues?.type"
8181
:ref="`authProviderForm`"
8282
excluded-form
8383
:application="builder"
@@ -131,7 +131,7 @@ export default {
131131
name: '',
132132
auth_providers: [],
133133
},
134-
fullValues: {},
134+
fullValues: null,
135135
}
136136
},
137137
computed: {

0 commit comments

Comments
 (0)