We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0d1c96d commit 7b9f671Copy full SHA for 7b9f671
src/components/charts/list/ChartListPopUp.tsx
@@ -60,20 +60,12 @@ function ChartListPopUp({
60
setShowAddPopUp(!showAddPopUp)
61
}
62
63
- const onClickAddSource = (e) => {
64
- if (serverMode === SERVER_MODE.EA_ONLY) {
65
- history.push(URLS.GLOBAL_CONFIG_CHART)
66
- } else {
67
- toggleAddPopUp(e)
68
- }
69
70
-
71
const renderChartListHeaders = () => {
72
return (
73
<div className="pt-12 pb-12 pl-16 flex dc__content-space dc__border-bottom fw-6">
74
<span>Helm chart sources</span>
75
<div className="flex">
76
- <div className="flex cb-5 fw-6 cursor mr-12" onClick={onClickAddSource}>
+ <div className="flex cb-5 fw-6 cursor mr-12" onClick={toggleAddPopUp}>
77
<Add className="icon-dim-20 fcb-5 mr-8" />
78
Add
79
</div>
0 commit comments