diff --git a/src/components/AppSidebar/AppSidebar.vue b/src/components/AppSidebar/AppSidebar.vue index 231fcdd1ae..39260e4792 100644 --- a/src/components/AppSidebar/AppSidebar.vue +++ b/src/components/AppSidebar/AppSidebar.vue @@ -101,7 +101,12 @@ const noAnalysis = computed(() => { {{ t('appSidebar.savedSearches') }} - + { }) const hasTooltip = computed(() => { - return !!tooltipText.value && !props.hideTooltip && (props.showTooltipForce || props.hideLabel) + return !!tooltipText.value && !props.hideTooltip && (props.showTooltipForce || props.hideLabel) }) const showTooltip = computed(() => { diff --git a/src/router/index.js b/src/router/index.js index e7dc9b0c02..4d3f858a68 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -250,7 +250,7 @@ export const routes = [ meta: { icon: 'dots-nine', title: 'All projects' - }, + } }, { name: 'project.new', diff --git a/tests/unit/specs/components/AppSidebar/AppSidebar.spec.js b/tests/unit/specs/components/AppSidebar/AppSidebar.spec.js index fb54cf56b3..cfba1edd2a 100644 --- a/tests/unit/specs/components/AppSidebar/AppSidebar.spec.js +++ b/tests/unit/specs/components/AppSidebar/AppSidebar.spec.js @@ -30,7 +30,6 @@ describe('AppSidebar.vue', () => { return shallowMount(AppSidebar, { ...options }) } - beforeEach(async () => { vi.clearAllMocks() wrapper = setLocalMode()