mirror of
https://github.com/IT4Change/gradido.git
synced 2026-03-01 12:44:43 +00:00
fix bugs
This commit is contained in:
parent
f5d39f39c4
commit
700c5a5c21
@ -228,6 +228,7 @@ volumes:
|
||||
node_modules_frontend:
|
||||
node_modules_backend:
|
||||
node_modules_federation:
|
||||
node_modules_inspector:
|
||||
node_modules_database:
|
||||
node_modules_dlt_connector:
|
||||
turbo_cache:
|
||||
|
||||
@ -4,6 +4,8 @@ import ContentFooter from './ContentFooter'
|
||||
import CONFIG from '@/config'
|
||||
import { BCol, BNav, BNavItem, BRow } from 'bootstrap-vue-next'
|
||||
|
||||
console.log(`CONFIG in ContentFooter.spec.js: ${JSON.stringify(CONFIG, null, 2)}`)
|
||||
|
||||
describe('ContentFooter', () => {
|
||||
let wrapper
|
||||
|
||||
|
||||
@ -43,11 +43,7 @@
|
||||
<BNavItem :href="`mailto:${supportEmail}`" target="_blank">
|
||||
{{ $t('navigation.support') }}
|
||||
</BNavItem>
|
||||
<BNavItem
|
||||
v-if="CONFIG.DLT_ACTIVE"
|
||||
:href="`https://${CONFIG.COMMUNITY_URL}/inspector`"
|
||||
target="_blank"
|
||||
>
|
||||
<BNavItem v-if="dltActive" :href="`https://${communityUrl}/inspector`" target="_blank">
|
||||
{{ $t('footer.inspector') }}
|
||||
</BNavItem>
|
||||
</BNav>
|
||||
@ -61,6 +57,8 @@ import CONFIG from '@/config'
|
||||
export default {
|
||||
data() {
|
||||
return {
|
||||
dltActive: CONFIG.DLT_ACTIVE,
|
||||
communityUrl: CONFIG.COMMUNITY_URL,
|
||||
year: new Date().getFullYear(),
|
||||
version: CONFIG.APP_VERSION,
|
||||
hash: CONFIG.BUILD_COMMIT,
|
||||
|
||||
@ -2,6 +2,7 @@
|
||||
// The whole contents is exposed to the client
|
||||
|
||||
// Load Package Details for some default values
|
||||
const { DLT_ACTIVE } = require('config-schema')
|
||||
const pkg = require('../../package')
|
||||
|
||||
const constants = {
|
||||
@ -38,6 +39,7 @@ if (process.env.FRONTEND_HOSTING === 'nodejs') {
|
||||
// version.FRONTEND_MODULE_PORT
|
||||
|
||||
const features = {
|
||||
DLT_ACTIVE: process.env.DLT_ACTIVE === 'true',
|
||||
GMS_ACTIVE: process.env.GMS_ACTIVE === 'true',
|
||||
HUMHUB_ACTIVE: process.env.HUMHUB_ACTIVE === 'true',
|
||||
AUTO_POLL_INTERVAL: Number.parseInt(process.env.AUTO_POLL_INTERVAL ?? 0),
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user