ui: Fix up typo for the UI config template url (#9109)

This commit is contained in:
Kenia 2020-11-05 14:04:40 -05:00 committed by GitHub
parent eda072a280
commit 068af04aa6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -16,7 +16,7 @@ export default Route.extend({
items: this.data.source(
uri => uri`/${nspace}/${dc}/service-instances/for-service/${params.name}`
),
urls: this.config.get().dashboard_url_template,
urls: this.config.get().dashboard_url_templates,
chain: null,
proxies: [],
topology: null,

View File

@ -7,7 +7,7 @@ module.exports = ({ appName, environment, rootURL, config }) => `
JSON.stringify({
metrics_provider: 'prometheus',
metrics_proxy_enabled: true,
dashboard_url_template: {
dashboard_url_templates: {
service: 'https://example.com?{{Service.Name}}&{{Datacenter}}',
},
})