Skip to content

Commit

Permalink
Match column order to dashboard list
Browse files Browse the repository at this point in the history
  • Loading branch information
diegomedina248 committed Apr 6, 2022
1 parent 710d05f commit 891dd22
Showing 1 changed file with 9 additions and 8 deletions.
17 changes: 9 additions & 8 deletions superset-frontend/src/views/CRUD/alert/AlertList.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -264,22 +264,23 @@ function AlertList({
{
Cell: ({
row: {
original: { owners = [] },
original: { created_by },
},
}: any) => <FacePile users={owners} />,
Header: t('Owners'),
id: 'owners',
}: any) =>
created_by ? `${created_by.first_name} ${created_by.last_name}` : '',
Header: t('Created by'),
id: 'created_by',
disableSortBy: true,
size: 'xl',
},
{
Cell: ({
row: {
original: { created_by },
original: { owners = [] },
},
}: any) => <FacePile users={[created_by]} />,
Header: t('Created by'),
id: 'created_by',
}: any) => <FacePile users={owners} />,
Header: t('Owners'),
id: 'owners',
disableSortBy: true,
size: 'xl',
},
Expand Down

0 comments on commit 891dd22

Please sign in to comment.