mirror of
https://github.com/shumaiOne/shumai.git
synced 2026-11-27 19:34:38 +00:00
fix(webui): show clear toast when upload fails due to localhost s3 endpoint (#507)
* fix(webui): show clear toast when upload fails due to localhost s3 endpoint * fix(webui): center empty state in file browser list area
This commit is contained in:
@@ -75,7 +75,12 @@ function RootComponent() {
|
||||
})
|
||||
|
||||
if (!showSidebar) {
|
||||
return <Outlet />
|
||||
return (
|
||||
<>
|
||||
<Toaster />
|
||||
<Outlet />
|
||||
</>
|
||||
)
|
||||
}
|
||||
|
||||
const unreadCount = me?.unreadNotificationCount ?? 0
|
||||
|
||||
Reference in New Issue
Block a user