mirror of
https://github.com/nextcloud/server.git
synced 2026-04-21 22:27:31 -04:00
chore: fixed linter issues forgotten in new frontend code
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
This commit is contained in:
parent
314acfc379
commit
5540671cdb
2 changed files with 5 additions and 3 deletions
|
|
@ -96,6 +96,8 @@ export default defineComponent({
|
|||
},
|
||||
},
|
||||
|
||||
emits: ['need-content'],
|
||||
|
||||
data() {
|
||||
return {
|
||||
scrollPosition: 0,
|
||||
|
|
@ -312,7 +314,7 @@ export default defineComponent({
|
|||
this.container.addEventListener('scroll', this.updateScrollPosition, { passive: true })
|
||||
},
|
||||
|
||||
beforeDestroy() {
|
||||
beforeUnmount() {
|
||||
if (this.useWindow) {
|
||||
window.removeEventListener('resize', this.updateContainerSize)
|
||||
}
|
||||
|
|
|
|||
|
|
@ -12,10 +12,10 @@ const rootPath = 'dav'
|
|||
const remote = generateRemoteUrl(rootPath)
|
||||
const client = createClient(remote)
|
||||
|
||||
// set CSRF token header
|
||||
/**
|
||||
* set CSRF token header
|
||||
*
|
||||
* @param token
|
||||
* @param token - CSRF token
|
||||
*/
|
||||
function setHeaders(token) {
|
||||
client.setHeaders({
|
||||
|
|
|
|||
Loading…
Reference in a new issue