mirror of
https://github.com/casdoor/casdoor.git
synced 2025-09-10 12:50:29 +08:00
Fix payment list error.
This commit is contained in:
@@ -158,11 +158,10 @@ class PaymentListPage extends BaseListPage {
|
|||||||
width: '110px',
|
width: '110px',
|
||||||
align: 'center',
|
align: 'center',
|
||||||
filterMultiple: false,
|
filterMultiple: false,
|
||||||
filters: [
|
filters: Setting.getProviderTypeOptions('Payment').map((o) => {return {text:o.id, value:o.name}}),
|
||||||
{text: 'Payment', value: 'Payment', children: Setting.getProviderTypeOptions('Payment').map((o) => {return {text:o.id, value:o.name}})},
|
|
||||||
],
|
|
||||||
sorter: true,
|
sorter: true,
|
||||||
render: (text, record, index) => {
|
render: (text, record, index) => {
|
||||||
|
record.category = "Payment";
|
||||||
return Provider.getProviderLogoWidget(record);
|
return Provider.getProviderLogoWidget(record);
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
Reference in New Issue
Block a user