Skip to content

Commit

Permalink
refactor: lint
Browse files Browse the repository at this point in the history
  • Loading branch information
pirhoo committed Sep 5, 2024
1 parent fa51500 commit 56011f8
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 4 deletions.
7 changes: 6 additions & 1 deletion src/components/AppSidebar/AppSidebar.vue
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,12 @@ const noAnalysis = computed(() => {
{{ t('appSidebar.savedSearches') }}
</app-sidebar-section-entry>
</app-sidebar-section>
<app-sidebar-section :title="t('appSidebar.tasks')" icon="rocket-launch" :to="{ name: 'search' }" :compact="compact">
<app-sidebar-section
:title="t('appSidebar.tasks')"
icon="rocket-launch"
:to="{ name: 'search' }"
:compact="compact"
>
<app-sidebar-section-entry
icon="list-magnifying-glass"
:to="{ name: 'task.batch-search.list' }"
Expand Down
2 changes: 1 addition & 1 deletion src/components/Button/ButtonIcon.vue
Original file line number Diff line number Diff line change
Expand Up @@ -249,7 +249,7 @@ const tooltipText = computed(() => {
})
const hasTooltip = computed(() => {
return !!tooltipText.value && !props.hideTooltip && (props.showTooltipForce || props.hideLabel)
return !!tooltipText.value && !props.hideTooltip && (props.showTooltipForce || props.hideLabel)
})
const showTooltip = computed(() => {
Expand Down
2 changes: 1 addition & 1 deletion src/router/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -250,7 +250,7 @@ export const routes = [
meta: {
icon: 'dots-nine',
title: 'All projects'
},
}
},
{
name: 'project.new',
Expand Down
1 change: 0 additions & 1 deletion tests/unit/specs/components/AppSidebar/AppSidebar.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@ describe('AppSidebar.vue', () => {
return shallowMount(AppSidebar, { ...options })
}


beforeEach(async () => {
vi.clearAllMocks()
wrapper = setLocalMode()
Expand Down

0 comments on commit 56011f8

Please sign in to comment.