Skip to content

Commit

Permalink
[5.x] Fix error when changing dictionary type (#10530)
Browse files Browse the repository at this point in the history
  • Loading branch information
jasonvarga authored Jul 30, 2024
1 parent e4d6e45 commit dc2da26
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions resources/js/components/fieldtypes/DictionaryFields.vue
Original file line number Diff line number Diff line change
Expand Up @@ -71,10 +71,10 @@ export default {
},
watch: {
dictionary() {
dictionary(dictionary) {
this.update({
type: dictionary,
...this.meta.dictionaries[this.dictionary]?.defaults
...this.meta.dictionaries[dictionary]?.defaults
})
},
},
Expand Down

0 comments on commit dc2da26

Please sign in to comment.