File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -27,6 +27,7 @@ interface LeftPanelProps {
2727 handleInfoClick ?: ( ) => void ;
2828 showDeleteAction ?: boolean ;
2929 handleDelete : ( ) => void ;
30+ getDownloadUrl : ( sorceType : string , id : string ) => string ;
3031}
3132
3233const LeftPanel : React . FC < LeftPanelProps > = ( {
@@ -48,7 +49,8 @@ const LeftPanel: React.FC<LeftPanelProps> = ({
4849 showInfoAction = false ,
4950 handleInfoClick,
5051 showDeleteAction = false ,
51- handleDelete
52+ handleDelete,
53+ getDownloadUrl
5254} ) => {
5355 const theme = useTheme ( ) ;
5456
@@ -95,6 +97,7 @@ const LeftPanel: React.FC<LeftPanelProps> = ({
9597 handleInfoClick = { handleInfoClick }
9698 showDeleteAction = { showDeleteAction }
9799 handleDelete = { handleDelete }
100+ getDownloadUrl = { getDownloadUrl }
98101 />
99102 { showTechnologies && (
100103 < TechnologySection
Original file line number Diff line number Diff line change @@ -39,6 +39,7 @@ export interface DesignTableProps {
3939 workspaceName : string ,
4040 workspaceId : string
4141 ) => void ;
42+ getDownloadUrl : ( sorceType : string , id : string ) => string ;
4243 handlePublish : ( publishModal : PublishModalState , data : any ) => void ;
4344 publishModalHandler : any ;
4445 handleUnpublishModal : ( design : Pattern , modalRef : React . RefObject < any > ) => void ;
@@ -83,6 +84,7 @@ const DesignTable: React.FC<DesignTableProps> = ({
8384 handleShowDetails,
8485 handleUnpublishModal,
8586 handleWorkspaceDesignDeleteModal,
87+ getDownloadUrl,
8688 publishModalHandler,
8789 isCopyLinkAllowed,
8890 isDeleteAllowed,
@@ -122,6 +124,7 @@ const DesignTable: React.FC<DesignTableProps> = ({
122124 handleCopyUrl,
123125 handleClone,
124126 handleShowDetails,
127+ getDownloadUrl,
125128 isCopyLinkAllowed,
126129 isDeleteAllowed,
127130 isDownloadAllowed,
You can’t perform that action at this time.
0 commit comments