Unverified Commit 2fb490c5 authored by Timothy Jaeryang Baek's avatar Timothy Jaeryang Baek Committed by GitHub
Browse files

Merge pull request #178 from ollama-webui/dev

fix: modelfiles create
parents 7ef8a1c4 62149ef7
...@@ -241,7 +241,10 @@ SYSTEM """${system}"""`.replace(/^\s*\n/gm, ''); ...@@ -241,7 +241,10 @@ SYSTEM """${system}"""`.replace(/^\s*\n/gm, '');
categories[category.toLowerCase()] = true; categories[category.toLowerCase()] = true;
} }
}); });
window.opener.postMessage('loaded', '*');
if (window.opener ?? false) {
window.opener.postMessage('loaded', '*');
}
}); });
</script> </script>
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment