Skip to content

Commit

Permalink
Fix DataTransformer history selector (#760)
Browse files Browse the repository at this point in the history
  • Loading branch information
DementevNikita authored Jun 21, 2022
1 parent 18154ae commit 09bdda6
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions odd-platform-ui/src/redux/selectors/dataentity.selectors.ts
Original file line number Diff line number Diff line change
Expand Up @@ -217,10 +217,8 @@ export const getDataEntityIsTransformerJob = createSelector(
entityCLass =>
entityCLass.name === DataEntityClassNameEnum.TRANSFORMER
);
const isDataEntityTypeJob =
dataEntity?.type?.name === DataEntityTypeNameEnum.JOB;

return Boolean(isDataEntityClassTransformer && isDataEntityTypeJob);
return Boolean(isDataEntityClassTransformer);
}
);

Expand Down

0 comments on commit 09bdda6

Please sign in to comment.