mirror of
https://github.com/mealie-recipes/mealie.git
synced 2025-08-02 20:15:24 +02:00
Reset disabled steps when switching recipe (#537)
This commit is contained in:
parent
9436dc2d71
commit
976298c7d6
1 changed files with 9 additions and 0 deletions
|
@ -91,6 +91,15 @@ export default {
|
|||
mounted() {
|
||||
this.showTitleEditor = this.value.map(x => this.validateTitle(x.title));
|
||||
},
|
||||
|
||||
watch: {
|
||||
value: {
|
||||
handler() {
|
||||
this.disabledSteps = [];
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
methods: {
|
||||
generateKey(item, index) {
|
||||
return utils.generateUniqueKey(item, index);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue