From 477ea20894800fad4546e8ee7c67630a4336970f Mon Sep 17 00:00:00 2001 From: Sandy Ryza Date: Thu, 1 Aug 2024 15:21:27 -0700 Subject: [PATCH] take storage_kind label off the asset node --- .../ui-core/src/asset-graph/AssetNode.tsx | 17 ++--------------- 1 file changed, 2 insertions(+), 15 deletions(-) diff --git a/js_modules/dagster-ui/packages/ui-core/src/asset-graph/AssetNode.tsx b/js_modules/dagster-ui/packages/ui-core/src/asset-graph/AssetNode.tsx index 3f5bc0d16825e..ca98f2ccab2c6 100644 --- a/js_modules/dagster-ui/packages/ui-core/src/asset-graph/AssetNode.tsx +++ b/js_modules/dagster-ui/packages/ui-core/src/asset-graph/AssetNode.tsx @@ -18,11 +18,7 @@ import {ChangedReasonsTag, MinimalNodeChangedDot} from '../assets/ChangedReasons import {MinimalNodeStaleDot, StaleReasonsTag, isAssetStale} from '../assets/Stale'; import {AssetChecksStatusSummary} from '../assets/asset-checks/AssetChecksStatusSummary'; import {assetDetailsPathForKey} from '../assets/assetDetailsPathForKey'; -import { - AssetComputeKindTag, - AssetStorageKindTag, - isCanonicalStorageKindTag, -} from '../graph/KindTags'; +import {AssetComputeKindTag} from '../graph/KindTags'; import {DefinitionTag} from '../graphql/types'; import {StaticSetFilter} from '../ui/BaseFilters/useStaticSetFilter'; import {markdownToPlaintext} from '../ui/markdownToPlaintext'; @@ -31,15 +27,13 @@ interface Props { definition: AssetNodeFragment; selected: boolean; computeKindTagsFilter?: StaticSetFilter; - storageKindTagsFilter?: StaticSetFilter; } export const AssetNode = React.memo( - ({definition, selected, computeKindTagsFilter, storageKindTagsFilter}: Props) => { + ({definition, selected, computeKindTagsFilter}: Props) => { const isSource = definition.isSource; const {liveData} = useAssetLiveData(definition.assetKey); - const storageKindTag = definition.tags?.find(isCanonicalStorageKindTag); return ( - {storageKindTag && ( - - )}