mirror of
https://github.com/Ocelot-Social-Community/Ocelot-Social.git
synced 2025-12-13 07:46:06 +00:00
Fix linting
This commit is contained in:
parent
00c10cc1a7
commit
f5f3fbeadb
@ -133,7 +133,8 @@ describe('PageFooter.vue', () => {
|
|||||||
externalLink: {
|
externalLink: {
|
||||||
url: 'https://ocelot.social/FAQ',
|
url: 'https://ocelot.social/FAQ',
|
||||||
target: '_blank',
|
target: '_blank',
|
||||||
} }),
|
},
|
||||||
|
}),
|
||||||
}
|
}
|
||||||
wrapper = Wrapper()
|
wrapper = Wrapper()
|
||||||
wrapper.setData({ links })
|
wrapper.setData({ links })
|
||||||
|
|||||||
@ -36,10 +36,7 @@ export class PageParams {
|
|||||||
thisComponent.$router.push(this.internalPage.pageRoute)
|
thisComponent.$router.push(this.internalPage.pageRoute)
|
||||||
} else if (typeof window !== 'undefined') {
|
} else if (typeof window !== 'undefined') {
|
||||||
if (this.externalLink.target === '_blank') {
|
if (this.externalLink.target === '_blank') {
|
||||||
window.open(
|
window.open(this.externalLink.url, this.externalLink.target)
|
||||||
this.externalLink.url,
|
|
||||||
this.externalLink.target,
|
|
||||||
)
|
|
||||||
} else {
|
} else {
|
||||||
window.location.href = this.externalLink.url
|
window.location.href = this.externalLink.url
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user