mirror of
https://github.com/gitbutlerapp/gitbutler.git
synced 2024-11-23 20:54:50 +03:00
fix: do not allow commit editing for upstream-only commits
This commit is contained in:
parent
a7eef8ff38
commit
eaa785e3bb
@ -95,7 +95,7 @@
|
||||
branchController.undoCommit(branch.id, commit.id);
|
||||
}
|
||||
|
||||
let isUndoable = commit instanceof DetailedCommit;
|
||||
let isUndoable = commit instanceof DetailedCommit && type !== 'remote';
|
||||
|
||||
let commitMessageModal: Modal;
|
||||
let commitMessageValid = $state(false);
|
||||
|
Loading…
Reference in New Issue
Block a user