mirror of
				https://github.com/mealie-recipes/mealie.git
				synced 2025-10-31 02:03:35 -04:00 
			
		
		
		
	Reset disabled steps when switching recipe (#537)
This commit is contained in:
		| @@ -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); | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user