mirror of
https://github.com/IT4Change/gradido.git
synced 2026-02-06 09:56:05 +00:00
remove menu-item circles and usersearch
This commit is contained in:
parent
b50cf2468c
commit
6cf88bb165
@ -38,18 +38,6 @@
|
||||
<span class="ms-2">{{ $t('navigation.info') }}</span>
|
||||
</div>
|
||||
</BNavItem>
|
||||
<BNavItem v-if="isHumhub" to="/circles" class="mb-3" active-class="active-route">
|
||||
<div class="sidebar-menu-item-wrapper">
|
||||
<BImg src="/img/svg/circles.svg" height="20" class="svg-icon" />
|
||||
<span class="ms-2">{{ $t('navigation.circles') }}</span>
|
||||
</div>
|
||||
</BNavItem>
|
||||
<BNavItem v-if="isGMS" to="/usersearch" active-class="active-route">
|
||||
<div class="sidebar-menu-item-wrapper">
|
||||
<BImg src="/img/loupe.png" height="20" />
|
||||
<span class="ms-2">{{ $t('navigation.usersearch') }}</span>
|
||||
</div>
|
||||
</BNavItem>
|
||||
</BNav>
|
||||
<hr class="m-3" />
|
||||
<BNav vertical class="w-100">
|
||||
@ -99,17 +87,14 @@
|
||||
</div>
|
||||
</template>
|
||||
<script setup>
|
||||
import CONFIG from '../../config'
|
||||
import { useRoute } from 'vue-router'
|
||||
import { ref, watch, computed } from 'vue'
|
||||
import { useStore } from 'vuex'
|
||||
|
||||
const props = defineProps({
|
||||
shadow: { type: Boolean, default: true },
|
||||
})
|
||||
|
||||
const emit = defineEmits(['closeSidebar'])
|
||||
const store = useStore()
|
||||
|
||||
const route = useRoute()
|
||||
const communityLink = ref(null)
|
||||
@ -120,12 +105,6 @@ const transactionClass = computed(() => {
|
||||
}
|
||||
return 'mb-3'
|
||||
})
|
||||
const isHumhub = computed(() => {
|
||||
return CONFIG.HUMHUB_ACTIVE === 'true'
|
||||
})
|
||||
const isGMS = computed(() => {
|
||||
return CONFIG.GMS_ACTIVE === 'true' && store.state.userLocation !== null
|
||||
})
|
||||
|
||||
watch(
|
||||
() => route.path,
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user