mirror of
https://github.com/Prowlarr/Prowlarr.git
synced 2025-09-17 17:14:18 +02:00
@@ -35,6 +35,7 @@ function IndexerIndexRow(props: IndexerIndexRowProps) {
|
||||
);
|
||||
|
||||
const {
|
||||
id,
|
||||
name: indexerName,
|
||||
indexerUrls,
|
||||
enable,
|
||||
@@ -53,6 +54,8 @@ function IndexerIndexRow(props: IndexerIndexRowProps) {
|
||||
fields.find((field) => field.name === 'baseUrl')?.value ??
|
||||
(Array.isArray(indexerUrls) ? indexerUrls[0] : undefined);
|
||||
|
||||
const rssUrl = `${window.location.origin}${window.Prowlarr.urlBase}/${id}/api?t=search&extended=1&apikey=${window.Prowlarr.apiKey}`;
|
||||
|
||||
const [isEditIndexerModalOpen, setIsEditIndexerModalOpen] = useState(false);
|
||||
const [isDeleteIndexerModalOpen, setIsDeleteIndexerModalOpen] =
|
||||
useState(false);
|
||||
@@ -198,6 +201,12 @@ function IndexerIndexRow(props: IndexerIndexRowProps) {
|
||||
key={column.name}
|
||||
className={styles[column.name]}
|
||||
>
|
||||
<IconButton
|
||||
name={icons.RSS}
|
||||
title={translate('RssFeed')}
|
||||
to={rssUrl}
|
||||
/>
|
||||
|
||||
{baseUrl ? (
|
||||
<IconButton
|
||||
className={styles.externalLink}
|
||||
|
Reference in New Issue
Block a user