Skip to content

Commit

Permalink
fix: consumer without plugins causes page crashes (#2437)
Browse files Browse the repository at this point in the history
Co-authored-by: qihaiyan <qihaiyan@hisense.com>
  • Loading branch information
qihaiyan and qihaiyan committed Apr 26, 2022
1 parent 1fa5df3 commit 470fc94
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion web/src/pages/Consumer/List.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ const Page: React.FC = () => {
title: formatMessage({ id: 'menu.plugin' }),
dataIndex: 'plugins',
hideInSearch: true,
render: (_, record) => Object.keys(record.plugins).join(','),
render: (_, record) => Object.keys(record.plugins || []).join(','),
},
{
title: formatMessage({ id: 'component.global.operation' }),
Expand Down

0 comments on commit 470fc94

Please sign in to comment.