chore: fixed linter issues forgotten in new frontend code

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
pull/56619/head
Ferdinand Thiessen 5 months ago
parent 314acfc379
commit 5540671cdb
No known key found for this signature in database
GPG Key ID: 45FAE7268762B400
  1. 4
      apps/files_versions/src/components/VirtualScrolling.vue
  2. 4
      apps/files_versions/src/utils/davClient.ts

@ -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…
Cancel
Save