mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
Initialize HelmRepoManager on demand (#2591)
This commit is contained in:
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();
|
||||
|
||||
Reference in new issue
Block a user