diff --git a/src/components/dialogs/hacs-install-dialog.ts b/src/components/dialogs/hacs-install-dialog.ts index 8d9af3b8..ee36ac2a 100644 --- a/src/components/dialogs/hacs-install-dialog.ts +++ b/src/components/dialogs/hacs-install-dialog.ts @@ -108,12 +108,12 @@ export class HacsInstallDialog extends HacsDialogBase { this._repository.version_or_commit === "version" ? this._repository.releases .map((version) => [version, version]) - .concat([ + .concat( this._repository.full_name === "hacs/integration" || - this._repository.hide_default_branch - ? ["", ""] - : [this._repository.default_branch, this._repository.default_branch], - ]) + this._repository.hide_default_branch + ? [] + : [[this._repository.default_branch, this._repository.default_branch]] + ) : [], }, ];