Skip to content

Commit

Permalink
fix(image): fix image cover value
Browse files Browse the repository at this point in the history
Signed-off-by: davidglezz <[email protected]>
  • Loading branch information
davidglezz committed Feb 15, 2023
1 parent ff718dd commit acd3472
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
6 changes: 5 additions & 1 deletion src/Model/Image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,11 @@ fields:
relation: Product
generate_all: true
cover:
value: 1
type: conditionalValue
args:
- isNewValue({id_product})
- 1
- 0
fields_lang:
columns:
legend:
Expand Down
2 changes: 1 addition & 1 deletion src/Model/Product.yml
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ fields_lang:
args:
- 6
description:
type: sentence
type: paragraphs
description_short:
type: sentence
args:
Expand Down

0 comments on commit acd3472

Please sign in to comment.