fix(alpine): resolve console errors on editor and agent panel
Initialize coverOpen/coverLoading in editorState, render import file info with x-if instead of x-show (null deref), split x-if/x-for on the agent mention menu, guard m.steps.length and use unique keys for the icon picker. Also reduce htmx swap responses to .main-wrapper so shell scripts (agent panel, base inline) are not re-executed on partial navigation.
This commit is contained in:
@@ -901,6 +901,8 @@ window.__fdEditorScriptsLoaded = true;
|
||||
undoStack:[],redoStack:[],_histCap:100,_histLock:false,
|
||||
// ── Cover & icon (v5.10+) ──
|
||||
coverUrl:'',
|
||||
coverOpen:false,
|
||||
coverLoading:false,
|
||||
iconOpen:false,
|
||||
iconValue:'',
|
||||
// ── Import ──
|
||||
|
||||
Reference in New Issue
Block a user