Fix integration icons

This commit is contained in:
ajnart
2023-01-08 12:42:15 +09:00
parent b06abde49e
commit 306a3c5f1c

View File

@@ -22,52 +22,52 @@ export const IntegrationSelector = ({ form }: IntegrationSelectorProps) => {
const data: SelectItem[] = [ const data: SelectItem[] = [
{ {
value: 'sabnzbd', value: 'sabnzbd',
image: 'https://cdn.jsdelivr.net/gh/walkxhub/dashboard-icons/png/sabnzbd.png', image: 'https://cdn.jsdelivr.net/gh/walkxcode/dashboard-icons@master/png/sabnzbd.png',
label: 'SABnzbd', label: 'SABnzbd',
}, },
{ {
value: 'deluge', value: 'deluge',
image: 'https://cdn.jsdelivr.net/gh/walkxhub/dashboard-icons/png/deluge.png', image: 'https://cdn.jsdelivr.net/gh/walkxcode/dashboard-icons@master/png/deluge.png',
label: 'Deluge', label: 'Deluge',
}, },
{ {
value: 'transmission', value: 'transmission',
image: 'https://cdn.jsdelivr.net/gh/walkxhub/dashboard-icons/png/transmission.png', image: 'https://cdn.jsdelivr.net/gh/walkxcode/dashboard-icons@master/png/transmission.png',
label: 'Transmission', label: 'Transmission',
}, },
{ {
value: 'qBittorrent', value: 'qBittorrent',
image: 'https://cdn.jsdelivr.net/gh/walkxhub/dashboard-icons/png/qbittorrent.png', image: 'https://cdn.jsdelivr.net/gh/walkxcode/dashboard-icons@master/png/qbittorrent.png',
label: 'qBittorrent', label: 'qBittorrent',
}, },
{ {
value: 'jellyseerr', value: 'jellyseerr',
image: 'https://cdn.jsdelivr.net/gh/walkxhub/dashboard-icons/png/jellyseerr.png', image: 'https://cdn.jsdelivr.net/gh/walkxcode/dashboard-icons@master/png/jellyseerr.png',
label: 'Jellyseerr', label: 'Jellyseerr',
}, },
{ {
value: 'overseerr', value: 'overseerr',
image: 'https://cdn.jsdelivr.net/gh/walkxhub/dashboard-icons/png/overseerr.png', image: 'https://cdn.jsdelivr.net/gh/walkxcode/dashboard-icons@master/png/overseerr.png',
label: 'Overseerr', label: 'Overseerr',
}, },
{ {
value: 'sonarr', value: 'sonarr',
image: 'https://cdn.jsdelivr.net/gh/walkxhub/dashboard-icons/png/sonarr.png', image: 'https://cdn.jsdelivr.net/gh/walkxcode/dashboard-icons@master/png/sonarr.png',
label: 'Sonarr', label: 'Sonarr',
}, },
{ {
value: 'radarr', value: 'radarr',
image: 'https://cdn.jsdelivr.net/gh/walkxhub/dashboard-icons/png/radarr.png', image: 'https://cdn.jsdelivr.net/gh/walkxcode/dashboard-icons@master/png/radarr.png',
label: 'Radarr', label: 'Radarr',
}, },
{ {
value: 'lidarr', value: 'lidarr',
image: 'https://cdn.jsdelivr.net/gh/walkxhub/dashboard-icons/png/lidarr.png', image: 'https://cdn.jsdelivr.net/gh/walkxcode/dashboard-icons@master/png/lidarr.png',
label: 'Lidarr', label: 'Lidarr',
}, },
{ {
value: 'readarr', value: 'readarr',
image: 'https://cdn.jsdelivr.net/gh/walkxhub/dashboard-icons/png/readarr.png', image: 'https://cdn.jsdelivr.net/gh/walkxcode/dashboard-icons@master/png/readarr.png',
label: 'Readarr', label: 'Readarr',
}, },
].filter((x) => Object.keys(integrationFieldProperties).includes(x.value)); ].filter((x) => Object.keys(integrationFieldProperties).includes(x.value));