mirror of
https://github.com/IT4Change/gradido.git
synced 2026-02-06 09:56:05 +00:00
add dependency of overview cards
This commit is contained in:
parent
a9bfc6f837
commit
507f6d2512
@ -1,12 +1,16 @@
|
||||
<template>
|
||||
<div class="overview">
|
||||
<BCol>
|
||||
<BRow>
|
||||
<card-circles />
|
||||
</BRow>
|
||||
<BRow>
|
||||
<card-user-search />
|
||||
</BRow>
|
||||
<div v-if="isHumhubActive">
|
||||
<BRow>
|
||||
<card-circles />
|
||||
</BRow>
|
||||
</div>
|
||||
<div v-if="isGmsActive">
|
||||
<BRow>
|
||||
<card-user-search />
|
||||
</BRow>
|
||||
</div>
|
||||
</BCol>
|
||||
</div>
|
||||
</template>
|
||||
@ -14,11 +18,23 @@
|
||||
// import CommunityNews from '@/components/Overview/CommunityNews'
|
||||
import CardCircles from '@/components/Overview/CardCircles'
|
||||
import CardUserSearch from '@/components/Overview/CardUserSearch'
|
||||
import CONFIG from '@/config'
|
||||
|
||||
export default {
|
||||
name: 'Overview',
|
||||
components: {
|
||||
CardCircles,
|
||||
CardUserSearch,
|
||||
},
|
||||
computed: {
|
||||
isGmsActive() {
|
||||
console.log('isGmsActive=', CONFIG.GMS_ACTIVE)
|
||||
return CONFIG.GMS_ACTIVE === true
|
||||
},
|
||||
isHumhubActive() {
|
||||
console.log('isHumhubActive=', CONFIG.HUMHUB_ACTIVE)
|
||||
return CONFIG.HUMHUB_ACTIVE === true
|
||||
},
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user