Fix to match upstream

Upstreams linter was mad about the attributes not being before the event
handlers, so this fixes that to match upstream when we end up merging
2024.9 (assuming it gets included in that release)
This commit is contained in:
Julia Johannesen 2024-10-01 10:30:02 -04:00
parent 7a1596cad9
commit 0aec0bb402
No known key found for this signature in database
GPG Key ID: 4A1377AF3E7FBC46
1 changed files with 2 additions and 2 deletions

View File

@ -9,11 +9,11 @@ SPDX-License-Identifier: AGPL-3.0-only
<template #item="{element}"> <template #item="{element}">
<div <div
:class="$style.file" :class="$style.file"
role="button"
tabindex="0"
@click="showFileMenu(element, $event)" @click="showFileMenu(element, $event)"
@keydown.space.enter="showFileMenu(element, $event)" @keydown.space.enter="showFileMenu(element, $event)"
@contextmenu.prevent="showFileMenu(element, $event)" @contextmenu.prevent="showFileMenu(element, $event)"
role="button"
tabindex="0"
> >
<MkDriveFileThumbnail :data-id="element.id" :class="$style.thumbnail" :file="element" fit="cover"/> <MkDriveFileThumbnail :data-id="element.id" :class="$style.thumbnail" :file="element" fit="cover"/>
<div v-if="element.isSensitive" :class="$style.sensitive"> <div v-if="element.isSensitive" :class="$style.sensitive">