feat: printing attributes in cards on dashboard
This commit is contained in:
@@ -69,6 +69,7 @@ class AttributeService(BaseService):
|
||||
attribute.label = request.attribute.label
|
||||
attribute.default_value = default_value
|
||||
attribute.is_applicable_to_group = request.attribute.is_applicable_to_group
|
||||
attribute.is_shown_on_dashboard = request.attribute.is_shown_on_dashboard
|
||||
attribute.is_nullable = request.attribute.is_nullable
|
||||
attribute.description = request.attribute.description
|
||||
await self.session.commit()
|
||||
|
||||
@@ -242,6 +242,7 @@ class CardsService(BaseService):
|
||||
total_products=products_count,
|
||||
bill_request=card.bill_request,
|
||||
tags=card.tags,
|
||||
attributes=card.attributes,
|
||||
)
|
||||
)
|
||||
return CardSummaryResponse(summaries=summaries)
|
||||
|
||||
Reference in New Issue
Block a user