Skip to content

Commit

Permalink
fix(consumer): fix user undefined when view (#1987)
Browse files Browse the repository at this point in the history
  • Loading branch information
Baoyuantop authored Jul 23, 2021
1 parent d4a11f7 commit 0b5196f
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 @@ -78,7 +78,7 @@ const Page: React.FC = () => {
{formatMessage({ id: 'component.global.edit' })}
</Button>
<Button type="primary" style={{ marginRight: 10 }} onClick={() => {
setId(record.id);
setId(record.username);
setRawData(omit(record, DELETE_FIELDS));
setVisible(true);
setEditorMode('update');
Expand Down

0 comments on commit 0b5196f

Please sign in to comment.