diff options
author | skjnldsv <skjnldsv@protonmail.com> | 2024-12-13 12:06:59 +0100 |
---|---|---|
committer | skjnldsv <skjnldsv@protonmail.com> | 2024-12-17 09:59:57 +0100 |
commit | 74b2562e6b40a9339943bfa83d323ea11203f401 (patch) | |
tree | a04e9b8fa630c2b01a7c2e8539e03798bdd5c9a2 /apps/files/src/components/FileEntryMixin.ts | |
parent | 376a7bba7b2911c53ff9524ac0b889e502250bff (diff) | |
download | nextcloud-server-74b2562e6b40a9339943bfa83d323ea11203f401.tar.gz nextcloud-server-74b2562e6b40a9339943bfa83d323ea11203f401.zip |
feat(files): add hotkey service and unify action handling
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
Diffstat (limited to 'apps/files/src/components/FileEntryMixin.ts')
-rw-r--r-- | apps/files/src/components/FileEntryMixin.ts | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/apps/files/src/components/FileEntryMixin.ts b/apps/files/src/components/FileEntryMixin.ts index 08dfd402677..2d20881cde0 100644 --- a/apps/files/src/components/FileEntryMixin.ts +++ b/apps/files/src/components/FileEntryMixin.ts @@ -59,7 +59,6 @@ export default defineComponent({ data() { return { - loading: '', dragover: false, gridMode: false, } @@ -75,7 +74,7 @@ export default defineComponent({ }, isLoading() { - return this.source.status === NodeStatus.LOADING || this.loading !== '' + return this.source.status === NodeStatus.LOADING }, /** @@ -261,9 +260,6 @@ export default defineComponent({ methods: { resetState() { - // Reset loading state - this.loading = '' - // Reset the preview state this.$refs?.preview?.reset?.() @@ -310,7 +306,7 @@ export default defineComponent({ return } - // Ignore right click (button & 2) and any auxillary button expect mouse-wheel (button & 4) + // Ignore right click (button & 2) and any auxiliary button expect mouse-wheel (button & 4) if (Boolean(event.button & 2) || event.button > 4) { return } |