diff --git a/CHANGELOG.md b/CHANGELOG.md index 102e6c3..370d547 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,9 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). +## [2.0.4] +* Fix for database editing + ## [2.0.3] * Fix for asset downloading diff --git a/frontend/src/views/pages/configuration/Database.vue b/frontend/src/views/pages/configuration/Database.vue index 2c237e3..e2d90b5 100644 --- a/frontend/src/views/pages/configuration/Database.vue +++ b/frontend/src/views/pages/configuration/Database.vue @@ -172,6 +172,17 @@ }, async created() { this.serverConfig = await EqemuAdminClient.getServerConfig() + + if (!this.serverConfig.server.content_database) { + this.serverConfig.server.content_database = { + db: "", + host: "", + port: "", + username: "", + password: "", + } + } + this.loaded = true }, methods: { diff --git a/package-lock.json b/package-lock.json index 0fe12c7..b3f63be 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,6 +1,6 @@ { "name": "eqemu-admin", - "version": "2.0.2", + "version": "2.0.3", "lockfileVersion": 1, "requires": true, "dependencies": { diff --git a/package.json b/package.json index a88d325..fdd987c 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "eqemu-admin", - "version": "2.0.3", + "version": "2.0.4", "private": true, "bin": "./app/bin/admin", "scripts": {