mirror of
https://github.com/pelican-dev/panel.git
synced 2025-12-08 18:30:15 +01:00
Fix EditFiles breadcrumbs incorrect url (#1925)
This commit is contained in:
parent
25c8ff3f1f
commit
b1b723485f
@ -267,7 +267,7 @@ class EditFiles extends Page
|
|||||||
$previousParts = '';
|
$previousParts = '';
|
||||||
foreach (explode('/', $this->path) as $part) {
|
foreach (explode('/', $this->path) as $part) {
|
||||||
$previousParts = $previousParts . '/' . $part;
|
$previousParts = $previousParts . '/' . $part;
|
||||||
$breadcrumbs[self::getUrl(['path' => ltrim($previousParts, '/')])] = $part;
|
$breadcrumbs[ListFiles::getUrl(['path' => ltrim($previousParts, '/')])] = $part;
|
||||||
}
|
}
|
||||||
|
|
||||||
return $breadcrumbs;
|
return $breadcrumbs;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user