Skip to content

Commit

Permalink
remove redundant check
Browse files Browse the repository at this point in the history
Signed-off-by: Ben Dye <[email protected]>
  • Loading branch information
B-T-D committed Oct 21, 2024
1 parent 2658f8f commit ef7af0f
Showing 1 changed file with 0 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -247,14 +247,6 @@ export class OwnerEditor extends React.Component<

// check if rendering an owner category that lacks any entries
let isEmptySection = false;

// if any owners uncategorized, set section to null to render an uncategorized owners list
Object.keys(itemProps).forEach((key) => {
if (!itemProps[key].additionalOwnerInfo?.owner_category) {
section = null;
}
});

if (section !== null) {

Check failure on line 250 in frontend/amundsen_application/static/js/components/OwnerEditor/index.tsx

View workflow job for this annotation

GitHub Actions / test-unit-frontend (12.x)

Expected blank line before this statement
isEmptySection = Object.keys(itemProps).every(
(key) =>
Expand Down

0 comments on commit ef7af0f

Please sign in to comment.