fix(MediaManager): remove trailing slash from URL display and title
This commit is contained in:
parent
a4291964de
commit
507be5eeab
|
|
@ -1304,9 +1304,9 @@ export default function MediaManager({ initialPath, rootPath, title, config, set
|
|||
<div
|
||||
className="text-xs text-neutral-500 overflow-hidden whitespace-nowrap"
|
||||
style={{ direction: 'rtl', textOverflow: 'ellipsis' }}
|
||||
title={[dev.base_url, dev.url].filter(Boolean).join('')}
|
||||
title={[dev.base_url, dev.url].filter(Boolean).join('').replace(/\/$/, '')}
|
||||
>
|
||||
{[dev.base_url, dev.url].filter(Boolean).join('')}
|
||||
{[dev.base_url, dev.url].filter(Boolean).join('').replace(/\/$/, '')}
|
||||
</div>
|
||||
)}
|
||||
</div>
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user