mirror of
https://github.com/gitbutlerapp/gitbutler.git
synced 2024-12-01 04:14:45 +03:00
🐛 fix: disable draggable hunk if it is locked or readonly
This commit is contained in:
parent
ed62435ecd
commit
1b149af40c
@ -156,7 +156,7 @@
|
||||
role="cell"
|
||||
use:draggable={{
|
||||
...draggableHunk(branchId, section.hunk),
|
||||
disabled: readonly
|
||||
disabled: readonly || section.hunk.locked
|
||||
}}
|
||||
on:dblclick
|
||||
class="hunk"
|
||||
|
Loading…
Reference in New Issue
Block a user