Add content list update in renderer.js
This commit is contained in:
@@ -575,6 +575,7 @@ folders.forEach(folderObj => {
|
|||||||
await renderSidebar();
|
await renderSidebar();
|
||||||
const initial = await window.electronAPI.getSelected();
|
const initial = await window.electronAPI.getSelected();
|
||||||
if (initial) await renderContent(initial);
|
if (initial) await renderContent(initial);
|
||||||
|
updateContentList(window.initial);
|
||||||
|
|
||||||
addBtn.addEventListener('click', async () => {
|
addBtn.addEventListener('click', async () => {
|
||||||
await window.electronAPI.addFolder();
|
await window.electronAPI.addFolder();
|
||||||
|
|||||||
Reference in New Issue
Block a user