fix: restore per-item retrieval settings in the model editor knowledge section (#27686)

This commit is contained in:
G30
2026-08-24 07:34:30 -04:00
committed by GitHub
parent 01452ff62f
commit 16b20c651d
2 changed files with 37 additions and 19 deletions
+1 -1
View File
@@ -107,7 +107,7 @@
if (focusTrap) {
focusTrap.deactivate();
}
if (modalElement) {
if (modalElement && modalElement.parentNode === document.body) {
document.body.removeChild(modalElement);
}
});