diff --git a/src/renderer/components/+preferences/add-helm-repo-dialog.tsx b/src/renderer/components/+preferences/add-helm-repo-dialog.tsx index bda36bd78b..35d56aa9c5 100644 --- a/src/renderer/components/+preferences/add-helm-repo-dialog.tsx +++ b/src/renderer/components/+preferences/add-helm-repo-dialog.tsx @@ -61,11 +61,11 @@ export class AddHelmRepoDialog extends React.Component { @observable showOptions = false; @action - close = () => { - AddHelmRepoDialog.close(); - this.helmRepo = getEmptyRepo(); - this.showOptions = false; - }; + close = () => { + AddHelmRepoDialog.close(); + this.helmRepo = getEmptyRepo(); + this.showOptions = false; + }; setFilepath(type: FileType, value: string) { this.helmRepo[type] = value; @@ -95,7 +95,7 @@ export class AddHelmRepoDialog extends React.Component { async addCustomRepo() { try { await HelmRepoManager.getInstance().addRepo(this.helmRepo); - Notifications.ok(<>Helm repository {this.helmRepo.name} has added); + Notifications.ok(<>Helm repository {this.helmRepo.name} has been added); this.props.onAddRepo(); this.close(); } catch (err) {