File tree 2 files changed +7
-0
lines changed
2 files changed +7
-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
+ /* The grif view currently does not properly handle inline actions, we hide them for now */
2
+ .action-item__popper .action .files-list__row-action-lock_inline ,
3
+ .files-list--grid .action .files-list__row-action-lock_inline {
4
+ display : none;
5
+ }
You can’t perform that action at this time.
0 commit comments