mirror of
https://github.com/inventree/InvenTree.git
synced 2026-09-02 10:18:42 +00:00
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:
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user