Skip to content

Commit

Permalink
followup to replace GrapheneAssetNode isSource with isMaterializable
Browse files Browse the repository at this point in the history
  • Loading branch information
sryza committed Aug 7, 2024
1 parent 994f771 commit c7d70f0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ export const buildAssetTabMap = (input: AssetTabConfigInput) => {
id: 'partitions',
title: 'Partitions',
to: buildAssetViewParams({...params, view: 'partitions'}),
hidden: !definition?.partitionDefinition || !definition?.isMaterializable,
hidden: !definition?.partitionDefinition || !definition?.isMaterializable === false,
} as AssetTabConfig,
checks: {
id: 'checks',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,7 @@ export const AssetView = ({assetKey, headerBreadcrumbs, writeAssetVisit, current
};

const renderPartitionsTab = () => {
if (!definition?.isMaterializable) {
if (definition?.isMaterializable === false) {
return <Redirect to={assetDetailsPathForKey(assetKey, {view: 'events'})} />;
}

Expand Down

0 comments on commit c7d70f0

Please sign in to comment.