Edit the Object Storage > Public Access directory listing link

On the Storage > Object Storage page, the directory listing page was not working because the "Public Access" link in the Detail Info popup was redirecting.
Added "/" to the end of the link address.

Change-Id: I27904475edc48404271bea1c42634f23be8ffbd1
This commit is contained in:
Numan MENEKŞE 2023-09-13 12:55:36 +00:00
parent 0f25664254
commit 312c27c038

View File

@ -65,7 +65,7 @@ function PopUpContent({ name }) {
<Col span={8}>{t('Public Access')}</Col>
<Col span={12}>
{data.link ? (
<a type="link" href={data.link} target="_blank" rel="noreferrer">
<a type="link" href={data.link.endsWith('/') ? data.link : data.link + '/'} target="_blank" rel="noreferrer">
{t('Click To View')}
</a>
) : (