cateditor: fix setting model name
This commit is contained in:
@ -52,8 +52,9 @@ export default {
|
||||
return model ? model.name : '(none)'
|
||||
},
|
||||
set(value) {
|
||||
var section = this.selectedSection()
|
||||
var model = this.selectedModel()
|
||||
this.setModelName({ model: model, name: value })
|
||||
this.setModelName({ section: section, model: model, name: value })
|
||||
}
|
||||
},
|
||||
|
||||
@ -68,6 +69,7 @@ export default {
|
||||
|
||||
methods: {
|
||||
...mapGetters([
|
||||
'selectedSection',
|
||||
'selectedModel',
|
||||
]),
|
||||
...mapActions([
|
||||
|
||||
Reference in New Issue
Block a user