+ {isUserUploaded ? (
+ getAlphabetIcon(uploadedBy, 'icon-dim-20 m-0-imp')
+ ) : (
+
+ )}
+
+ {uploadedBy}
+
+
+ ),
+ },
+ }
+ })}
+ emptyStateConfig={{
+ noRowsConfig: {
+ title: 'No Deployment Charts Found',
+ },
+ }}
+ filtersVariant={FiltersTypeEnum.STATE}
+ additionalFilterProps={{
+ initialSortKey: DeploymentChartsListSortableKeys.CHART_NAME,
+ }}
+ paginationVariant={PaginationEnum.NOT_PAGINATED}
+ filter={null}
+ rowStartIconConfig={{
+ name: 'ic-folder-color',
+ color: null,
+ size: 24,
+ }}
+ rowActionOnHoverConfig={{
+ width: 100,
+ Component: DeploymentChartActionButtonWrapper,
+ }}
+ />
+
+ {/* {filteredChartList.length ? (
@@ -194,7 +300,7 @@ const DeploymentChartsList = () => {
) : (
- )}
+ )} */}
)
}
diff --git a/src/Pages/GlobalConfigurations/DeploymentCharts/types.ts b/src/Pages/GlobalConfigurations/DeploymentCharts/types.ts
index 2eb067717e..a75343c2d3 100644
--- a/src/Pages/GlobalConfigurations/DeploymentCharts/types.ts
+++ b/src/Pages/GlobalConfigurations/DeploymentCharts/types.ts
@@ -14,7 +14,12 @@
* limitations under the License.
*/
-import { DeploymentChartType, ResponseType, UseUrlFiltersReturnType } from '@devtron-labs/devtron-fe-common-lib'
+import {
+ DeploymentChartType,
+ DeploymentChartVersionsType,
+ ResponseType,
+ UseUrlFiltersReturnType,
+} from '@devtron-labs/devtron-fe-common-lib'
export interface ChartUploadType {
chartName: string
@@ -55,3 +60,9 @@ export enum DeploymentChartsListSortableKeys {
CHART_VERSION = 'chartVersion',
UPLOADED_BY = 'uploadedBy',
}
+
+export interface DeploymentChartRowType
+ extends Omit