Merge pull request #178 from ollama-webui/dev

fix: modelfiles create
This commit is contained in:
Timothy Jaeryang Baek 2023-12-04 03:04:28 -05:00 committed by GitHub
commit 2fb490c5ba
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -241,7 +241,10 @@ SYSTEM """${system}"""`.replace(/^\s*\n/gm, '');
categories[category.toLowerCase()] = true; categories[category.toLowerCase()] = true;
} }
}); });
if (window.opener ?? false) {
window.opener.postMessage('loaded', '*'); window.opener.postMessage('loaded', '*');
}
}); });
</script> </script>