Lock notes on orders if they are completed (#11880)

* Lock notes on orders if they are completed
Fixes #11879

* also check setting

* use statuscode object

* remove build lock
This commit is contained in:
Matthias Mair
2026-05-06 22:25:14 +10:00
committed by GitHub
parent 81fbf52c60
commit 610e275ca0
3 changed files with 15 additions and 3 deletions
@@ -217,7 +217,7 @@ export default function NotesEditor({
const sibling =
mdeInstance?.codemirror.getWrapperElement()?.nextSibling;
if (sibling != null) {
if (sibling != null && editable != false) {
EasyMDE.togglePreview(mdeInstance);
}
}