forked from open-webui/open-webui
fix: modelfiles create
This commit is contained in:
parent
df1bd03528
commit
980ec49711
1 changed files with 4 additions and 1 deletions
|
@ -241,7 +241,10 @@ SYSTEM """${system}"""`.replace(/^\s*\n/gm, '');
|
|||
categories[category.toLowerCase()] = true;
|
||||
}
|
||||
});
|
||||
window.opener.postMessage('loaded', '*');
|
||||
|
||||
if (window.opener ?? false) {
|
||||
window.opener.postMessage('loaded', '*');
|
||||
}
|
||||
});
|
||||
</script>
|
||||
|
||||
|
|
Loading…
Reference in a new issue