mirror of
https://github.com/arsvendg/Stirling-PDF.git
synced 2026-07-15 19:10:47 +02:00
Add server-side folders and files page UI (#6383)
This commit is contained in:
@@ -19,6 +19,12 @@ export function getStartupNavigationAction(
|
||||
return null;
|
||||
}
|
||||
|
||||
// The user is browsing their file library - don't auto-switch them out of
|
||||
// the file manager just because a new upload landed.
|
||||
if (currentWorkbench === "myFiles") {
|
||||
return null;
|
||||
}
|
||||
|
||||
// Already actively viewing in the viewer → update to the latest file
|
||||
if (
|
||||
previousFileCount > 0 &&
|
||||
|
||||
Reference in New Issue
Block a user