fix(webui): remount file viewer when file ID changes to reset state

This commit is contained in:
yiling
2026-07-05 16:10:01 +08:00
parent ccfcdce23c
commit 868e7b2a7b
@@ -22,6 +22,7 @@ export function FileViewer({
return (
<ViewerComponent
key={file.id}
ref={mediaControllerRef}
file={file}
onPlay={onPlay}