Initialize HelmRepoManager on demand (#2591)

This commit is contained in:
Sebastian Malton authored and GitHub committed 2021-04-22 15:34:17 -04:00
1 parent 7132bf3834
commit b20bedfbae
6 files changed
+27 -24

No files matched your search

@@ -79,7 +79,7 @@ export class AddHelmRepoDialog extends React.Component<Props> {
async addCustomRepo() {
try {
await HelmRepoManager.getInstance().addСustomRepo(this.helmRepo);
await HelmRepoManager.addСustomRepo(this.helmRepo);
Notifications.ok(<>Helm repository <b>{this.helmRepo.name}</b> has added</>);
this.props.onAddRepo();
this.close();