mirror of
https://github.com/mealie-recipes/mealie.git
synced 2025-08-04 21:15:22 +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() {
|
mounted() {
|
||||||
this.showTitleEditor = this.value.map(x => this.validateTitle(x.title));
|
this.showTitleEditor = this.value.map(x => this.validateTitle(x.title));
|
||||||
},
|
},
|
||||||
|
|
||||||
|
watch: {
|
||||||
|
value: {
|
||||||
|
handler() {
|
||||||
|
this.disabledSteps = [];
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
|
||||||
methods: {
|
methods: {
|
||||||
generateKey(item, index) {
|
generateKey(item, index) {
|
||||||
return utils.generateUniqueKey(item, index);
|
return utils.generateUniqueKey(item, index);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue