diff --git a/platypush/backend/http/webapp/src/components/panels/Extensions/Config.vue b/platypush/backend/http/webapp/src/components/panels/Extensions/Config.vue index d67b8596f..966cba396 100644 --- a/platypush/backend/http/webapp/src/components/panels/Extensions/Config.vue +++ b/platypush/backend/http/webapp/src/components/panels/Extensions/Config.vue @@ -18,17 +18,23 @@ export default { components: { CopyButton, }, + props: { extension: { type: Object, required: true, }, + + configFile: { + type: String, + }, }, computed: { highlightedConfigSnippet() { return hljs.highlight( 'yaml', + `# Add this configuration template to ${this.configFile}\n` + this.extension.config_snippet, ).value.trim() }, diff --git a/platypush/backend/http/webapp/src/components/panels/Extensions/Extension.vue b/platypush/backend/http/webapp/src/components/panels/Extensions/Extension.vue index 2e7e1e5ac..49c960e91 100644 --- a/platypush/backend/http/webapp/src/components/panels/Extensions/Extension.vue +++ b/platypush/backend/http/webapp/src/components/panels/Extensions/Extension.vue @@ -26,7 +26,9 @@