fix ctrl+enter in sql console

This commit is contained in:
zadam
2019-08-25 21:55:36 +02:00
parent 233a50dbb7
commit 24a3f814ed
3 changed files with 7 additions and 6 deletions

View File

@@ -92,6 +92,10 @@ function getParams(params) {
async function getScriptBundleForFrontend(note) {
const bundle = await getScriptBundle(note);
if (!bundle) {
return;
}
// for frontend we return just noteIds because frontend needs to use its own entity instances
bundle.noteId = bundle.note.noteId;
delete bundle.note;