diff --git a/src/Umbraco.Web.UI.Client/src/installer/installer-database.element.ts b/src/Umbraco.Web.UI.Client/src/installer/installer-database.element.ts index eb42ab738b..5def7161bb 100644 --- a/src/Umbraco.Web.UI.Client/src/installer/installer-database.element.ts +++ b/src/Umbraco.Web.UI.Client/src/installer/installer-database.element.ts @@ -34,10 +34,14 @@ export class UmbInstallerDatabase extends LitElement { `, ]; - options = ['SQLite', 'Microsoft SQL Server', 'Custom connection string']; + options = [ + { name: 'SQLite', value: 'sqlite', selected: true }, + { name: 'Microsoft SQL Server', value: 'msqls' }, + { name: 'Custom connection string', value: 'custom' }, + ]; @state() - databaseType = 'SQLite'; + databaseType = 'sqlite'; private _handleSubmit = (e: SubmitEvent) => { e.preventDefault(); @@ -59,9 +63,9 @@ export class UmbInstallerDatabase extends LitElement { private _renderSettings() { switch (this.databaseType) { - case 'Microsoft SQL Server': + case 'msqls': return this._renderSqlServer(); - case 'Custom connection string': + case 'custom': return this._renderCustom(); default: return this._renderSQLite(); @@ -101,7 +105,7 @@ export class UmbInstallerDatabase extends LitElement { required required-message="Database name is required"> -

Connection

+

Credentials


Use integrated authentication @@ -144,13 +148,7 @@ export class UmbInstallerDatabase extends LitElement {
Database type - - - ${this.options.map( - (option) => html` ${option} ` - )} - - + ${this._renderSettings()}