Link add/edit: Fix config-sheet not properly re-rendered on profile type change (#3141)

Previously, autocomplete for parameter text sometimes did not properly
initialize due to receiving the old config descriptions of the previous
profile type.
This fixes this by making sure the config sheet is re-rendered when the
new profile type config has been loaded.

Signed-off-by: Florian Hotze <dev@florianhotze.com>
pull/3145/head
Florian Hotze 2025-04-08 22:19:48 +02:00 committed by GitHub
parent 62aaf75c49
commit ac6dff3941
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 2 additions and 2 deletions

View File

@ -219,8 +219,8 @@ export default {
})
},
onProfileTypeChange (profileTypeUid) {
this.profileTypeConfiguration = null
if (!profileTypeUid) {
this.profileTypeConfiguration = null
this.currentProfileType = null
return
}

View File

@ -180,8 +180,8 @@ export default {
}
},
onProfileTypeChange (profileTypeUid) {
this.profileTypeConfiguration = null
if (!profileTypeUid) {
this.profileTypeConfiguration = null
this.currentProfileType = null
return
}