diff --git a/api/serializers.py b/api/serializers.py index 494f17ab..0f714e2d 100644 --- a/api/serializers.py +++ b/api/serializers.py @@ -54,6 +54,7 @@ class ListOrderSerializer(serializers.ModelSerializer): "maker", "taker", "escrow_duration", + "bond_size" ) diff --git a/frontend/src/components/BookTable.tsx b/frontend/src/components/BookTable.tsx index 206289b2..7fd8bca1 100644 --- a/frontend/src/components/BookTable.tsx +++ b/frontend/src/components/BookTable.tsx @@ -457,6 +457,19 @@ const BookTable = ({ }; }; + const bondObj = function (width: number, hide: boolean) { + return { + hide, + field: 'bond_size', + headerName: t('Bond'), + type: 'number', + width: width * fontSize, + renderCell: (params:any) => { + return