change loading

This commit is contained in:
Kerwin Bryant
2024-12-26 00:51:46 +00:00
parent 158b79e40a
commit 143249f4f1
3 changed files with 6 additions and 4 deletions
@@ -66,7 +66,7 @@ export async function initViewFileTreeSidebar() {
const files = await loadChildren({path: treePath}, true);
fileTree.classList.remove('center');
fileTree.classList.remove('is-loading');
const fileTreeView = createApp(ViewFileTree, {files, selectedItem, loadChildren, loadContent: (item) => {
window.history.pushState(null, null, item.htmlUrl);
selectedItem.value = item.path;