fix editor
This commit is contained in:
parent
3a7031e462
commit
f6bde50ce3
6 changed files with 305 additions and 50 deletions
|
|
@ -32,9 +32,9 @@ if (!structure) {
|
|||
const structureId = String(structure.id);
|
||||
bliss("update-settings", structureId, "--route-prefix", "/_bliss");
|
||||
let state = json("structure", structureId);
|
||||
if (!state.dbs.some((db) => String(db.id) === "0" && db.alias === "bliss")) {
|
||||
bliss("attach-db", structureId, "0", "bliss");
|
||||
}
|
||||
// No db is attached: the editor reads structure sources through the /plumbing
|
||||
// API (owner-checked), not by mounting the prime db — which is no longer
|
||||
// attachable to other structures anyway.
|
||||
|
||||
const templates = [
|
||||
["inspector/slideout", "slideout.eta"],
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue