diff --git a/stdiet-ui/src/assets/icons/svg/health.svg b/stdiet-ui/src/assets/icons/svg/health.svg new file mode 100644 index 000000000..8b217be71 --- /dev/null +++ b/stdiet-ui/src/assets/icons/svg/health.svg @@ -0,0 +1,2 @@ + \ No newline at end of file diff --git a/stdiet-ui/src/views/custom/dishes/index.vue b/stdiet-ui/src/views/custom/dishes/index.vue index b1f541825..f41463331 100644 --- a/stdiet-ui/src/views/custom/dishes/index.vue +++ b/stdiet-ui/src/views/custom/dishes/index.vue @@ -75,7 +75,7 @@ - + @@ -477,7 +477,7 @@ const id = row.id || this.ids getDishes(id).then(response => { this.form = response.data; - this.form.type = this.form.type.split(','); + this.form.type = this.form.type ? this.form.type.split(',') : null; this.form.igdList.forEach(obj => { this.selIngIds.push(obj.id); this.selIngList.push({