diff --git a/src/views/settings/components/Http.vue b/src/views/settings/components/Http.vue index a94000b2..a12a1efa 100644 --- a/src/views/settings/components/Http.vue +++ b/src/views/settings/components/Http.vue @@ -3,6 +3,10 @@ + + + + {{ $t('settings.corsPlug') }} @@ -82,6 +86,12 @@ export default { loading() { return this.settings.loading }, + teslaAdapter() { + return this.settings.description.find(setting => setting.group === ':tesla') + }, + teslaAdapterData() { + return _.get(this.settings.settings, [':tesla']) || {} + }, webCacheTtl() { return this.settings.description.find(setting => setting.key === ':web_cache_ttl') }, diff --git a/src/views/settings/components/Other.vue b/src/views/settings/components/Other.vue index d748c2da..4a3b465f 100644 --- a/src/views/settings/components/Other.vue +++ b/src/views/settings/components/Other.vue @@ -1,9 +1,5 @@