remove menu-item circles and usersearch

This commit is contained in:
clauspeterhuebner 2025-03-07 00:05:46 +01:00
parent b50cf2468c
commit 6cf88bb165

View File

@ -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,