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
parent
62aaf75c49
commit
ac6dff3941
|
@ -219,8 +219,8 @@ export default {
|
|||
})
|
||||
},
|
||||
onProfileTypeChange (profileTypeUid) {
|
||||
this.profileTypeConfiguration = null
|
||||
if (!profileTypeUid) {
|
||||
this.profileTypeConfiguration = null
|
||||
this.currentProfileType = null
|
||||
return
|
||||
}
|
||||
|
|
|
@ -180,8 +180,8 @@ export default {
|
|||
}
|
||||
},
|
||||
onProfileTypeChange (profileTypeUid) {
|
||||
this.profileTypeConfiguration = null
|
||||
if (!profileTypeUid) {
|
||||
this.profileTypeConfiguration = null
|
||||
this.currentProfileType = null
|
||||
return
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue