mirror of
				https://github.com/open-metadata/OpenMetadata.git
				synced 2025-10-31 02:29:03 +00:00 
			
		
		
		
	* Fix : Fixing #2299 Able to add the tag itself as it's associated tag. * Fixing #2311 UI struct text in dataTypeDisplay looks like a link
This commit is contained in:
		
							parent
							
								
									b0beac243b
								
							
						
					
					
						commit
						a41dd01aaa
					
				| @ -377,9 +377,7 @@ const EntityTable = ({ | |||||||
|                                   <PopOver |                                   <PopOver | ||||||
|                                     html={ |                                     html={ | ||||||
|                                       <div className="tw-break-words"> |                                       <div className="tw-break-words"> | ||||||
|                                         <RichTextEditorPreviewer |                                         <span>{cell.value.toLowerCase()}</span> | ||||||
|                                           markdown={cell.value.toLowerCase()} |  | ||||||
|                                         /> |  | ||||||
|                                       </div> |                                       </div> | ||||||
|                                     } |                                     } | ||||||
|                                     position="bottom" |                                     position="bottom" | ||||||
|  | |||||||
| @ -15,7 +15,7 @@ import { AxiosError, AxiosResponse } from 'axios'; | |||||||
| import classNames from 'classnames'; | import classNames from 'classnames'; | ||||||
| import { isUndefined, toLower } from 'lodash'; | import { isUndefined, toLower } from 'lodash'; | ||||||
| import { EntityTags, FormErrorData } from 'Models'; | import { EntityTags, FormErrorData } from 'Models'; | ||||||
| import React, { useEffect, useState } from 'react'; | import React, { useCallback, useEffect, useState } from 'react'; | ||||||
| import { Link } from 'react-router-dom'; | import { Link } from 'react-router-dom'; | ||||||
| import { | import { | ||||||
|   createTag, |   createTag, | ||||||
| @ -68,6 +68,12 @@ const TagsPage = () => { | |||||||
|   const [errorDataCategory, setErrorDataCategory] = useState<FormErrorData>(); |   const [errorDataCategory, setErrorDataCategory] = useState<FormErrorData>(); | ||||||
|   const [errorDataTag, setErrorDataTag] = useState<FormErrorData>(); |   const [errorDataTag, setErrorDataTag] = useState<FormErrorData>(); | ||||||
| 
 | 
 | ||||||
|  |   const getTags = useCallback(() => { | ||||||
|  |     return getTaglist(categories).filter( | ||||||
|  |       (tag) => editTag?.fullyQualifiedName !== tag | ||||||
|  |     ); | ||||||
|  |   }, [currentCategory, editTag]); | ||||||
|  | 
 | ||||||
|   const fetchCategories = () => { |   const fetchCategories = () => { | ||||||
|     setIsLoading(true); |     setIsLoading(true); | ||||||
|     getTagCategories('usageCount') |     getTagCategories('usageCount') | ||||||
| @ -440,9 +446,7 @@ const TagsPage = () => { | |||||||
|                                         tagFQN: tag, |                                         tagFQN: tag, | ||||||
|                                       })) || [] |                                       })) || [] | ||||||
|                                     } |                                     } | ||||||
|                                     tagList={ |                                     tagList={getTags()} | ||||||
|                                       getTaglist(categories) as Array<string> |  | ||||||
|                                     } |  | ||||||
|                                     onCancel={() => { |                                     onCancel={() => { | ||||||
|                                       handleTagSelection(); |                                       handleTagSelection(); | ||||||
|                                     }} |                                     }} | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	 Sachin Chaurasiya
						Sachin Chaurasiya