feat(nutrition): set default template to food items and hide redundant food_name presentation card
This commit is contained in:
parent
f7258dd0e4
commit
45da723ee2
|
|
@ -3,11 +3,12 @@
|
||||||
"description": "Traditional Chinese dietary therapy, food thermal energetics (cold, cool, neutral, warm, hot), and therapeutic effects.",
|
"description": "Traditional Chinese dietary therapy, food thermal energetics (cold, cool, neutral, warm, hot), and therapeutic effects.",
|
||||||
"short_description": "TCM dietary therapy and food thermal energetics.",
|
"short_description": "TCM dietary therapy and food thermal energetics.",
|
||||||
"code": "m0031",
|
"code": "m0031",
|
||||||
"default_template_code": "m0031_ct0001",
|
"default_template_code": "m0031_ct0002",
|
||||||
"kind": "nutrition",
|
"kind": "nutrition",
|
||||||
"metadata": {
|
"metadata": {
|
||||||
"version": 1,
|
"version": 1,
|
||||||
"status": "draft"
|
"status": "draft",
|
||||||
|
"entry_template_code": "m0031_ct0002"
|
||||||
},
|
},
|
||||||
"content_mapping": [
|
"content_mapping": [
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -163,7 +163,7 @@
|
||||||
{
|
{
|
||||||
"attribute_key": "m0031_ct0002.food_name",
|
"attribute_key": "m0031_ct0002.food_name",
|
||||||
"empty_behavior": "hide",
|
"empty_behavior": "hide",
|
||||||
"visibility": "show",
|
"visibility": "hide",
|
||||||
"display_order": 0
|
"display_order": 0
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue