mirror of
https://github.com/open-metadata/OpenMetadata.git
synced 2025-10-01 11:52:12 +00:00
fix the tags rendering in entity version pages (#21305)
(cherry picked from commit ccb467fdc96f575b97a6a629530726f872577e6f)
This commit is contained in:
parent
7c2a4a66bc
commit
f5fc2ee3e5
@ -140,6 +140,7 @@ const APIEndpointVersion: FC<APIEndpointVersionProp> = ({
|
||||
/>
|
||||
{Object.keys(TagSource).map((tagType) => (
|
||||
<TagsContainerV2
|
||||
newLook
|
||||
entityType={EntityType.API_ENDPOINT}
|
||||
key={tagType}
|
||||
permission={false}
|
||||
|
@ -185,6 +185,7 @@ const ContainerVersion: React.FC<ContainerVersionProp> = ({
|
||||
|
||||
{Object.keys(TagSource).map((tagType) => (
|
||||
<TagsContainerV2
|
||||
newLook
|
||||
entityType={EntityType.CONTAINER}
|
||||
key={tagType}
|
||||
permission={false}
|
||||
|
@ -213,6 +213,7 @@ const DashboardVersion: FC<DashboardVersionProp> = ({
|
||||
/>
|
||||
{Object.keys(TagSource).map((tagType) => (
|
||||
<TagsContainerV2
|
||||
newLook
|
||||
entityType={EntityType.DASHBOARD}
|
||||
key={tagType}
|
||||
permission={false}
|
||||
|
@ -171,6 +171,7 @@ const DataModelVersion: FC<DataModelVersionProp> = ({
|
||||
/>
|
||||
{Object.keys(TagSource).map((tagType) => (
|
||||
<TagsContainerV2
|
||||
newLook
|
||||
entityType={EntityType.DASHBOARD_DATA_MODEL}
|
||||
key={tagType}
|
||||
permission={false}
|
||||
|
@ -136,6 +136,7 @@ const StoredProcedureVersion = ({
|
||||
/>
|
||||
{Object.keys(TagSource).map((tagType) => (
|
||||
<TagsContainerV2
|
||||
newLook
|
||||
entityType={EntityType.STORED_PROCEDURE}
|
||||
key={tagType}
|
||||
permission={false}
|
||||
|
@ -187,6 +187,7 @@ const TableVersion: React.FC<TableVersionProp> = ({
|
||||
/>
|
||||
{Object.keys(TagSource).map((tagType) => (
|
||||
<TagsContainerV2
|
||||
newLook
|
||||
entityType={EntityType.TABLE}
|
||||
key={tagType}
|
||||
permission={false}
|
||||
|
@ -142,6 +142,7 @@ const MetricVersion: FC<MetricVersionProp> = ({
|
||||
/>
|
||||
{Object.keys(TagSource).map((tagType) => (
|
||||
<TagsContainerV2
|
||||
newLook
|
||||
entityType={EntityType.METRIC}
|
||||
key={tagType}
|
||||
permission={false}
|
||||
|
@ -294,6 +294,7 @@ const MlModelVersion: FC<MlModelVersionProp> = ({
|
||||
/>
|
||||
{Object.keys(TagSource).map((tagType) => (
|
||||
<TagsContainerV2
|
||||
newLook
|
||||
entityType={EntityType.MLMODEL}
|
||||
key={tagType}
|
||||
permission={false}
|
||||
|
@ -223,6 +223,7 @@ const PipelineVersion: FC<PipelineVersionProp> = ({
|
||||
/>
|
||||
{Object.keys(TagSource).map((tagType) => (
|
||||
<TagsContainerV2
|
||||
newLook
|
||||
entityType={EntityType.PIPELINE}
|
||||
key={tagType}
|
||||
permission={false}
|
||||
|
@ -165,6 +165,7 @@ const SearchIndexVersion: React.FC<SearchIndexVersionProps> = ({
|
||||
/>
|
||||
{Object.keys(TagSource).map((tagType) => (
|
||||
<TagsContainerV2
|
||||
newLook
|
||||
entityType={EntityType.SEARCH_INDEX}
|
||||
key={tagType}
|
||||
permission={false}
|
||||
|
@ -158,6 +158,7 @@ const TopicVersion: FC<TopicVersionProp> = ({
|
||||
/>
|
||||
{Object.keys(TagSource).map((tagType) => (
|
||||
<TagsContainerV2
|
||||
newLook
|
||||
entityType={EntityType.TOPIC}
|
||||
key={tagType}
|
||||
permission={false}
|
||||
|
@ -304,6 +304,7 @@ const APICollectionVersionPage = () => {
|
||||
/>
|
||||
{Object.keys(TagSource).map((tagType) => (
|
||||
<TagsContainerV2
|
||||
newLook
|
||||
displayType={DisplayType.READ_MORE}
|
||||
entityType={EntityType.API_COLLECTION}
|
||||
key={tagType}
|
||||
|
@ -274,6 +274,7 @@ function DatabaseSchemaVersionPage() {
|
||||
/>
|
||||
{Object.keys(TagSource).map((tagType) => (
|
||||
<TagsContainerV2
|
||||
newLook
|
||||
displayType={DisplayType.READ_MORE}
|
||||
entityType={EntityType.DATABASE_SCHEMA}
|
||||
key={tagType}
|
||||
|
@ -221,6 +221,7 @@ function DatabaseVersionPage() {
|
||||
/>
|
||||
{Object.keys(TagSource).map((tagType) => (
|
||||
<TagsContainerV2
|
||||
newLook
|
||||
displayType={DisplayType.READ_MORE}
|
||||
entityType={EntityType.DATABASE}
|
||||
key={tagType}
|
||||
|
@ -108,6 +108,7 @@ function ServiceVersionMainTabContent({
|
||||
<Space className="w-full" direction="vertical" size="large">
|
||||
{Object.keys(TagSource).map((tagType) => (
|
||||
<TagsContainerV2
|
||||
newLook
|
||||
displayType={DisplayType.READ_MORE}
|
||||
entityFqn={serviceFQN}
|
||||
entityType={entityType}
|
||||
|
Loading…
x
Reference in New Issue
Block a user