fix: openActivityTarget now loads fileItems before showing Files tab

selectNode() resets fileItems=[] and activeTab='overview'. Setting
activeTab='files' programmatically does not trigger the tab click
handler that calls loadFolder(), so the file tree stays empty.

Fix: explicitly call await loadFolder(selectedNode.id) in the files
branch of openActivityTarget.

Also: unified resolveActivityTarget return shape to always use
targetId/targetPath regardless of targetType.
This commit is contained in:
2026-06-03 17:23:42 +08:00
parent 0bebcdce8c
commit 4ec03c849f
3 changed files with 10 additions and 6 deletions