Skip to content

Commit b14a470

Browse files
committed
fix: Properly disable inline action if not available
Signed-off-by: Julius Knorr <[email protected]>
1 parent 703be46 commit b14a470

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

src/main.ts

-4
Original file line numberDiff line numberDiff line change
@@ -95,10 +95,6 @@ const inlineAction = new FileAction({
9595
return false
9696
}
9797

98-
// FIXME: Currently enabled is not re-evaluated when emitting an updated node object through files:node:updated
99-
// Therefor we need to also have a unlocked state as the inline action is then always rendered
100-
return true
101-
10298
const node = nodes[0]
10399
const state = getLockStateFromAttributes(node)
104100

0 commit comments

Comments
 (0)