Fix: sidebar drive button resets to root, and use query parameter for downloads to bypass Next.js API rewrite bug with parenthesis in paths
All checks were successful
Automated Container Build / build-and-push (push) Successful in 1m23s
All checks were successful
Automated Container Build / build-and-push (push) Successful in 1m23s
This commit is contained in:
parent
0bd42e5b47
commit
d982ce66a8
3 changed files with 4 additions and 3 deletions
|
|
@ -1433,7 +1433,7 @@ export default function FileExplorer({ onLogout }: FileExplorerProps) {
|
|||
>
|
||||
<div className="flex flex-col gap-1 px-3 py-4 border-b" style={{ borderColor: 'var(--color-border-subtle)' }}>
|
||||
<button
|
||||
onClick={() => { setAppMode('drive'); setEditingFile(null); setActiveSection('files'); }}
|
||||
onClick={() => { setAppMode('drive'); setEditingFile(null); setActiveSection('files'); navigateTo('.'); }}
|
||||
className="w-full flex items-center gap-3 px-3 py-2.5 rounded-xl text-sm font-bold transition-all duration-150"
|
||||
style={{
|
||||
backgroundColor: appMode === 'drive' ? 'var(--color-accent-subtle)' : 'transparent',
|
||||
|
|
|
|||
Reference in a new issue