Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 6 additions & 4 deletions src/components/FwbNavbar/FwbNavbarLink.vue
Original file line number Diff line number Diff line change
Expand Up @@ -37,10 +37,12 @@
const componentName = computed(() => {
return props.component !== 'a' ? resolveComponent(props.component) : 'a'
})
const linkClasses = twMerge(
defaultClasses,
props.isActive ? currentPageClasses : defaultStateClasses,
)
const linkClasses = computed(() => {
return twMerge(

Check failure on line 41 in src/components/FwbNavbar/FwbNavbarLink.vue

View workflow job for this annotation

GitHub Actions / lint (18.x)

Expected indentation of 2 spaces but found 4
defaultClasses,

Check failure on line 42 in src/components/FwbNavbar/FwbNavbarLink.vue

View workflow job for this annotation

GitHub Actions / lint (18.x)

Expected indentation of 4 spaces but found 8
props.isActive ? currentPageClasses: defaultStateClasses,

Check failure on line 43 in src/components/FwbNavbar/FwbNavbarLink.vue

View workflow job for this annotation

GitHub Actions / lint (18.x)

Operator ':' must be spaced

Check failure on line 43 in src/components/FwbNavbar/FwbNavbarLink.vue

View workflow job for this annotation

GitHub Actions / lint (18.x)

Expected indentation of 4 spaces but found 1 tab

Check failure on line 43 in src/components/FwbNavbar/FwbNavbarLink.vue

View workflow job for this annotation

GitHub Actions / lint (18.x)

Unexpected tab character
)

Check failure on line 44 in src/components/FwbNavbar/FwbNavbarLink.vue

View workflow job for this annotation

GitHub Actions / lint (18.x)

Expected indentation of 2 spaces but found 4
})
const handleClick = (event: Event) => {
if (props.disabled) {
return
Expand Down
Loading