Skip to content

Commit

Permalink
fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
mistercrunch committed Apr 2, 2024
1 parent 65f1461 commit 63aacce
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
1 change: 0 additions & 1 deletion superset-frontend/src/components/TableCollection/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -307,7 +307,6 @@ export default React.memo(
[cell.column.size || '']: cell.column.size,
},
)}
style={cell.column.tdStyle}
{...cell.getCellProps()}
{...columnCellProps}
>
Expand Down
4 changes: 3 additions & 1 deletion superset-frontend/src/pages/DashboardList/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -357,7 +357,9 @@ function DashboardList(props: DashboardListProps) {
Header: t('Owners'),
accessor: 'owners',
disableSortBy: true,
tdStyle: { padding: '0px' },
cellProps: {
style: { padding: '0px' },
},
size: 'xl',
},
{
Expand Down
4 changes: 2 additions & 2 deletions superset/views/users/api.py
Original file line number Diff line number Diff line change
Expand Up @@ -157,8 +157,8 @@ def avatar(self, user_id: str) -> Response:

if avatar_url:
return redirect(avatar_url, code=301)

Check warning on line 159 in superset/views/users/api.py

View check run for this annotation

Codecov / codecov/patch

superset/views/users/api.py#L158-L159

Added lines #L158 - L159 were not covered by tests
else:
return self.response_404()

return self.response_404()

Check warning on line 161 in superset/views/users/api.py

View check run for this annotation

Codecov / codecov/patch

superset/views/users/api.py#L161

Added line #L161 was not covered by tests

except NoAuthorizationError:
return self.response_401()

Check warning on line 164 in superset/views/users/api.py

View check run for this annotation

Codecov / codecov/patch

superset/views/users/api.py#L163-L164

Added lines #L163 - L164 were not covered by tests

0 comments on commit 63aacce

Please sign in to comment.