File tree 2 files changed +12
-0
lines changed
2 files changed +12
-0
lines changed Original file line number Diff line number Diff line change @@ -24,6 +24,7 @@ import {
24
24
import { getCurrentUser } from '@nextcloud/auth'
25
25
26
26
import '@nextcloud/dialogs/style.css'
27
+ import './styles.css'
27
28
28
29
import LockSvg from '@mdi/svg/svg/lock.svg?raw'
29
30
import LockOpenSvg from '@mdi/svg/svg/lock-open-variant.svg?raw'
@@ -97,6 +98,7 @@ const inlineAction = new FileAction({
97
98
98
99
// FIXME: Currently enabled is not re-evaluated when emitting an updated node object through files:node:updated
99
100
// Therefor we need to also have a unlocked state as the inline action is then always rendered
101
+ // We currently hide them for the grid view via css
100
102
return true
101
103
102
104
const node = nodes [ 0 ]
Original file line number Diff line number Diff line change
1
+ /**
2
+ * SPDX-FileCopyrightText: 2025 Nextcloud GmbH and Nextcloud contributors
3
+ * SPDX-License-Identifier: AGPL-3.0-or-later
4
+ */
5
+
6
+ /* The grid view currently does not properly handle inline actions, we hide them for now */
7
+ .action-item__popper .action .files-list__row-action-lock_inline ,
8
+ .files-list--grid .action .files-list__row-action-lock_inline {
9
+ display : none;
10
+ }
You can’t perform that action at this time.
0 commit comments