mirror of
				https://github.com/datahub-project/datahub.git
				synced 2025-10-31 02:37:05 +00:00 
			
		
		
		
	fix(ui) remove SQL from TaskIcon for Vertex AI Pipeline task (#13024)
Co-authored-by: Andrew Sikowitz <andrew.sikowitz@acryl.io>
This commit is contained in:
		
							parent
							
								
									e7033e4d89
								
							
						
					
					
						commit
						b6af240e97
					
				| @ -10,6 +10,7 @@ import ViewComfyOutlinedIcon from '@mui/icons-material/ViewComfyOutlined'; | |||||||
| import TableauWorkbookLogo from '../../../../images/tableau-workbook.svg?react'; | import TableauWorkbookLogo from '../../../../images/tableau-workbook.svg?react'; | ||||||
| import TableauEmbeddedDataSourceLogo from '../../../../images/tableau-embedded-data-source.svg?react'; | import TableauEmbeddedDataSourceLogo from '../../../../images/tableau-embedded-data-source.svg?react'; | ||||||
| import TableauPublishedDataSourceLogo from '../../../../images/tableau-published-data-source.svg?react'; | import TableauPublishedDataSourceLogo from '../../../../images/tableau-published-data-source.svg?react'; | ||||||
|  | import VertexAIPipelineTaskLogo from '../../../../images/vertexai-pipeline-task.svg?react'; | ||||||
| 
 | 
 | ||||||
| export enum SubType { | export enum SubType { | ||||||
|     Database = 'Database', |     Database = 'Database', | ||||||
| @ -25,6 +26,7 @@ export enum SubType { | |||||||
|     LookerExplore = 'Explore', |     LookerExplore = 'Explore', | ||||||
|     Looker = 'Look', |     Looker = 'Look', | ||||||
|     DbtSource = 'Source', |     DbtSource = 'Source', | ||||||
|  |     VertexAIPipelineTask = 'Pipeline Task', | ||||||
| } | } | ||||||
| 
 | 
 | ||||||
| export const TYPE_ICON_CLASS_NAME = 'typeIcon'; | export const TYPE_ICON_CLASS_NAME = 'typeIcon'; | ||||||
| @ -62,5 +64,8 @@ export function getSubTypeIcon(subType?: string): JSX.Element | undefined { | |||||||
|     if (lowerSubType === SubType.TableauWorksheet.toLowerCase()) { |     if (lowerSubType === SubType.TableauWorksheet.toLowerCase()) { | ||||||
|         return <LineChartOutlined className={TYPE_ICON_CLASS_NAME} />; |         return <LineChartOutlined className={TYPE_ICON_CLASS_NAME} />; | ||||||
|     } |     } | ||||||
|  |     if (lowerSubType === SubType.VertexAIPipelineTask.toLowerCase()) { | ||||||
|  |         return <Icon component={VertexAIPipelineTaskLogo} className={TYPE_ICON_CLASS_NAME} />; | ||||||
|  |     } | ||||||
|     return undefined; |     return undefined; | ||||||
| } | } | ||||||
|  | |||||||
							
								
								
									
										3
									
								
								datahub-web-react/src/images/vertexai-pipeline-task.svg
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										3
									
								
								datahub-web-react/src/images/vertexai-pipeline-task.svg
									
									
									
									
									
										Normal file
									
								
							| @ -0,0 +1,3 @@ | |||||||
|  | <svg width="1em" height="1em" viewBox="0 0 18 18" fit="" preserveAspectRatio="xMidYMid meet"> | ||||||
|  |     <path fill="currentColor" d="M2.8125,6.49498705 L8.18741924,9.56954253 L8.18741924,15.75 L2.8125,12.6691394 L2.8125,6.49498705 Z M14.9625,6.48040046 L14.9625,12.6720259 L9.59178711,15.75 L9.59178711,9.55502167 L14.9625,6.48040046 Z M8.94505902,2.25 L14.254385,5.33084726 L8.94505902,8.37364036 L3.52352226,5.28994599 L8.94505902,2.25 Z"/> | ||||||
|  | </svg> | ||||||
| After Width: | Height: | Size: 444 B | 
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	 ryota-cloud
						ryota-cloud