diff --git a/client/config/prod-my-kv.env.js b/client/config/prod-my-kv.env.js index e5e9a958..ad0831fc 100644 --- a/client/config/prod-my-kv.env.js +++ b/client/config/prod-my-kv.env.js @@ -9,6 +9,8 @@ module.exports = { VUE_APP_ENABLE_SPELLCHECK: !!process.env.TASKBASE_BASEURL, VUE_APP_JS_TITLE: '"My KV"', VUE_APP_ENABLE_FOOTER: "false", + VUE_APP_SHOW_OBJECTIVES_TITLE: "false", + /* * Vars used in HTML templates don't need to be stringyfied, as HTML does not need them to have quotes */ diff --git a/client/config/prod.env.js b/client/config/prod.env.js index 67ac6e36..39d811c2 100644 --- a/client/config/prod.env.js +++ b/client/config/prod.env.js @@ -7,6 +7,7 @@ const values = { MATOMO_HOST: JSON.stringify(process.env.MATOMO_HOST), MATOMO_SITE_ID: JSON.stringify(process.env.MATOMO_SITE_ID), LOGOUT_REDIRECT_URL: JSON.stringify(process.env.LOGOUT_REDIRECT_URL), + VUE_APP_TYPE: JSON.stringify(process.env.APP_TYPE), /* * ENV variables used in JS code need to be stringyfied, as they will be replaced (in place) in the code, * and JS needs quotes around strings @@ -17,6 +18,7 @@ const values = { VUE_APP_ENABLE_SPELLCHECK: !!process.env.TASKBASE_BASEURL, VUE_APP_JS_TITLE: '"mySkillbox"', VUE_APP_ENABLE_FOOTER: "true", + VUE_APP_SHOW_OBJECTIVES_TITLE: "true", /* * Vars used in HTML templates don't need to be stringyfied, as HTML does not need them to have quotes diff --git a/client/src/components/modules/Module.vue b/client/src/components/modules/Module.vue index a4d576e5..b84f57ac 100644 --- a/client/src/components/modules/Module.vue +++ b/client/src/components/modules/Module.vue @@ -40,7 +40,7 @@

- Lernziele + Lernziele

@@ -99,6 +99,9 @@ } return this.module.bookmark.note; }, + showObjectivesTitle() { + return process.env.VUE_APP_SHOW_OBJECTIVES_TITLE; + } }, };