fix: do not allow commit editing for upstream-only commits

This commit is contained in:
ndom91 2024-10-16 15:35:12 +02:00 committed by Nico Domino
parent a7eef8ff38
commit eaa785e3bb

View File

@ -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);