diff --git a/app/src/i18n/locales/en.json b/app/src/i18n/locales/en.json index ce100431..a42bdd61 100644 --- a/app/src/i18n/locales/en.json +++ b/app/src/i18n/locales/en.json @@ -146,9 +146,9 @@ "domain": { "cert": { "types": { - "self-signed": "Self-signed", - "lets-encrypt": "Let's Encrypt", - "other-unknown": "Other/Unknown" + "selfsigned": "Self-signed", + "letsencrypt": "Let's Encrypt", + "other": "Other/Unknown" }, "valid_for": "valid for {days}" }, @@ -188,8 +188,6 @@ "info": { "apps_on_domain": "Apps installed on domain", "certificate_authority": "SSL Certification authority", - "dns_config_method": "DNS config method", - "dns_semi_auto_config_feature": "Semi-auto DNS configuration feature", "domain_type": "Domain type", "registrar": "Registrar" }, diff --git a/app/src/router/routes.js b/app/src/router/routes.js index ef339870..a610f5c6 100644 --- a/app/src/router/routes.js +++ b/app/src/router/routes.js @@ -141,14 +141,22 @@ const routes = [ } }, { - name: 'domain-info', path: '/domains/:name', component: () => import(/* webpackChunkName: "views/domain/info" */ '@/views/domain/DomainInfo'), props: true, - meta: { - args: { param: 'name' }, - breadcrumb: ['domain-list', 'domain-info'] - } + children: [ + { + name: 'domain-info', + path: ':tabId?', + component: () => import(/* webpackChunkName: "components/configPanel" */ '@/components/ConfigPanel'), + props: true, + meta: { + routerParams: ['name'], // Override router key params to avoid view recreation at tab change. + args: { param: 'name' }, + breadcrumb: ['domain-list', 'domain-info'] + } + } + ] }, { // no need for name here, only children are visited diff --git a/app/src/store/data.js b/app/src/store/data.js index a0fbf983..05bbd685 100644 --- a/app/src/store/data.js +++ b/app/src/store/data.js @@ -34,8 +34,8 @@ export default { state.domains = domains }, - 'SET_DOMAINS_DETAILS' (state, [name, { domains }]) { - Vue.set(state.domains_details, name, domains[name]) + 'SET_DOMAINS_DETAILS' (state, [name, details]) { + Vue.set(state.domains_details, name, details) }, 'UPDATE_DOMAINS_DETAILS' (state, payload) { diff --git a/app/src/views/domain/DomainInfo.vue b/app/src/views/domain/DomainInfo.vue index 6054683e..6a4331cf 100644 --- a/app/src/views/domain/DomainInfo.vue +++ b/app/src/views/domain/DomainInfo.vue @@ -1,5 +1,8 @@