Skip to content

Commit

Permalink
fix: component AppDataRow shows username
Browse files Browse the repository at this point in the history
  • Loading branch information
swouf committed Jan 24, 2023
1 parent 1ba53bc commit 7c9ad98
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/components/common/AppDataRow.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -75,9 +75,7 @@ const AppDataRow: FC<AppDataRowProps> = ({ data, showMember, member }) => {
{data.createdAt && new Date(data.createdAt).toLocaleString()}
</TableCell>
{showMember && (
<TableCell data-cy={TABLE_CELL_FILE_USER_CYPRESS}>
{renderUsername()}
</TableCell>
<TableCell data-cy={TABLE_CELL_FILE_USER_CYPRESS}>{username}</TableCell>
)}
<TableCell data-cy={TABLE_CELL_FILE_NAME_CYPRESS}>{filename}</TableCell>
<TableCell>{renderActions()}</TableCell>
Expand Down

0 comments on commit 7c9ad98

Please sign in to comment.