Compare commits
26 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
aab1492934 | ||
|
|
1ae074db8f | ||
|
|
f21004e944 | ||
|
|
7c421cc52f | ||
|
|
d8e407ab22 | ||
|
|
37565284e6 | ||
|
|
b758df9f44 | ||
|
|
a735ae47c5 | ||
|
|
97d585dc17 | ||
|
|
7f3db9add1 | ||
|
|
6d6964f086 | ||
|
|
2a4012f73a | ||
|
|
9385315f03 | ||
|
|
ee824f0b27 | ||
|
|
792af504c7 | ||
|
|
cd3c062a24 | ||
|
|
a5f477c19b | ||
|
|
85164d79fc | ||
|
|
7aedc4111f | ||
|
|
d1f89847f5 | ||
|
|
57170847a1 | ||
|
|
45de715390 | ||
|
|
c29d6f58dd | ||
|
|
f0bae49830 | ||
|
|
c3ceae4dc6 | ||
|
|
d654fb39e5 |
@@ -2,5 +2,8 @@ Dockerfile
|
|||||||
.dockerignore
|
.dockerignore
|
||||||
node_modules
|
node_modules
|
||||||
npm-debug.log
|
npm-debug.log
|
||||||
README.md
|
*.md
|
||||||
.git
|
.git
|
||||||
|
.github
|
||||||
|
LICENSE
|
||||||
|
docs/
|
||||||
|
|||||||
@@ -33,7 +33,7 @@ Homarr is a simple and lightweight homepage for your server, that helps you easi
|
|||||||
|
|
||||||
It integrates with the services you use to display information on the homepage (E.g. Show upcoming Sonarr/Radarr releases).
|
It integrates with the services you use to display information on the homepage (E.g. Show upcoming Sonarr/Radarr releases).
|
||||||
|
|
||||||
For a full list of integrations look at: [wiki/integrations](#).
|
For a full list of integrations look at: [wiki/integrations](https://github.com/ajnart/homarr/wiki/Integrations)
|
||||||
|
|
||||||
If you have any questions about Homarr or want to share information with us, please go to one of the following places:
|
If you have any questions about Homarr or want to share information with us, please go to one of the following places:
|
||||||
|
|
||||||
|
|||||||
@@ -1,2 +1,2 @@
|
|||||||
export const REPO_URL = 'ajnart/homarr';
|
export const REPO_URL = 'ajnart/homarr';
|
||||||
export const CURRENT_VERSION = 'v0.7.1';
|
export const CURRENT_VERSION = 'v0.7.2';
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "homarr",
|
"name": "homarr",
|
||||||
"version": "0.7.1",
|
"version": "0.7.2",
|
||||||
"description": "Homarr - A homepage for your server.",
|
"description": "Homarr - A homepage for your server.",
|
||||||
"repository": {
|
"repository": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
|
|||||||
@@ -123,13 +123,9 @@ export function AddAppShelfItemForm(props: { setOpened: (b: boolean) => void } &
|
|||||||
validate: {
|
validate: {
|
||||||
apiKey: () => null,
|
apiKey: () => null,
|
||||||
// Validate icon with a regex
|
// Validate icon with a regex
|
||||||
icon: (value: string) => {
|
icon: (value: string) =>
|
||||||
// Regex to match everything that ends with and icon extension
|
// Disable matching to allow any values
|
||||||
if (!value.match(/\.(png|jpg|jpeg|gif|svg)$/)) {
|
null,
|
||||||
return 'Please enter a valid icon URL';
|
|
||||||
}
|
|
||||||
return null;
|
|
||||||
},
|
|
||||||
// Validate url with a regex http/https
|
// Validate url with a regex http/https
|
||||||
url: (value: string) => {
|
url: (value: string) => {
|
||||||
try {
|
try {
|
||||||
@@ -321,9 +317,20 @@ export function AddAppShelfItemForm(props: { setOpened: (b: boolean) => void } &
|
|||||||
/>
|
/>
|
||||||
</>
|
</>
|
||||||
)}
|
)}
|
||||||
{(form.values.type === 'Deluge' ||
|
{form.values.type === 'Deluge' && (
|
||||||
form.values.type === 'Transmission' ||
|
<>
|
||||||
form.values.type === 'qBittorrent') && (
|
<TextInput
|
||||||
|
label="Password"
|
||||||
|
placeholder="password"
|
||||||
|
value={form.values.password}
|
||||||
|
onChange={(event) => {
|
||||||
|
form.setFieldValue('password', event.currentTarget.value);
|
||||||
|
}}
|
||||||
|
error={form.errors.password && 'Invalid password'}
|
||||||
|
/>
|
||||||
|
</>
|
||||||
|
)}
|
||||||
|
{form.values.type === 'Transmission' && (
|
||||||
<>
|
<>
|
||||||
<TextInput
|
<TextInput
|
||||||
label="Username"
|
label="Username"
|
||||||
@@ -336,7 +343,7 @@ export function AddAppShelfItemForm(props: { setOpened: (b: boolean) => void } &
|
|||||||
/>
|
/>
|
||||||
<TextInput
|
<TextInput
|
||||||
label="Password"
|
label="Password"
|
||||||
placeholder="password"
|
placeholder="adminadmin"
|
||||||
value={form.values.password}
|
value={form.values.password}
|
||||||
onChange={(event) => {
|
onChange={(event) => {
|
||||||
form.setFieldValue('password', event.currentTarget.value);
|
form.setFieldValue('password', event.currentTarget.value);
|
||||||
|
|||||||
@@ -20,15 +20,30 @@ import DownloadComponent from '../modules/downloads/DownloadsModule';
|
|||||||
|
|
||||||
const useStyles = createStyles((theme, _params) => ({
|
const useStyles = createStyles((theme, _params) => ({
|
||||||
item: {
|
item: {
|
||||||
borderBottom: 0,
|
|
||||||
overflow: 'hidden',
|
overflow: 'hidden',
|
||||||
border: '1px solid transparent',
|
borderLeft: '3px solid transparent',
|
||||||
borderRadius: theme.radius.lg,
|
borderRight: '3px solid transparent',
|
||||||
|
borderBottom: '3px solid transparent',
|
||||||
|
borderRadius: '20px',
|
||||||
|
borderColor: theme.colorScheme === 'dark' ? theme.colors.dark[5] : theme.colors.gray[1],
|
||||||
marginTop: theme.spacing.md,
|
marginTop: theme.spacing.md,
|
||||||
},
|
},
|
||||||
|
|
||||||
itemOpened: {
|
control: {
|
||||||
borderColor: theme.colorScheme === 'dark' ? theme.colors.dark[5] : theme.colors.gray[3],
|
backgroundColor: theme.colorScheme === 'dark' ? theme.colors.dark[5] : theme.colors.gray[1],
|
||||||
|
borderRadius: theme.spacing.md,
|
||||||
|
|
||||||
|
'&:hover': {
|
||||||
|
backgroundColor: theme.colorScheme === 'dark' ? theme.colors.dark[5] : theme.colors.gray[1],
|
||||||
|
},
|
||||||
|
},
|
||||||
|
|
||||||
|
content: {
|
||||||
|
margin: theme.spacing.md,
|
||||||
|
},
|
||||||
|
|
||||||
|
label: {
|
||||||
|
overflow: 'visible',
|
||||||
},
|
},
|
||||||
}));
|
}));
|
||||||
|
|
||||||
@@ -147,11 +162,6 @@ const AppShelf = (props: any) => {
|
|||||||
order={2}
|
order={2}
|
||||||
iconPosition="right"
|
iconPosition="right"
|
||||||
multiple
|
multiple
|
||||||
styles={{
|
|
||||||
item: {
|
|
||||||
borderRadius: '20px',
|
|
||||||
},
|
|
||||||
}}
|
|
||||||
initialState={toggledCategories}
|
initialState={toggledCategories}
|
||||||
onChange={(idx) => settoggledCategories(idx)}
|
onChange={(idx) => settoggledCategories(idx)}
|
||||||
>
|
>
|
||||||
|
|||||||
@@ -20,11 +20,7 @@ export default function AppShelfMenu(props: any) {
|
|||||||
onClose={() => setOpened(false)}
|
onClose={() => setOpened(false)}
|
||||||
title="Modify a service"
|
title="Modify a service"
|
||||||
>
|
>
|
||||||
<AddAppShelfItemForm
|
<AddAppShelfItemForm setOpened={setOpened} {...service} message="Save service" />
|
||||||
setOpened={setOpened}
|
|
||||||
{...service}
|
|
||||||
message="Save service"
|
|
||||||
/>
|
|
||||||
</Modal>
|
</Modal>
|
||||||
<Menu
|
<Menu
|
||||||
position="right"
|
position="right"
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
import { ActionIcon, Group, Text, SegmentedControl, TextInput, Anchor } from '@mantine/core';
|
import { ActionIcon, Group, Text, SegmentedControl, TextInput, Anchor } from '@mantine/core';
|
||||||
import { useState } from 'react';
|
import { useState } from 'react';
|
||||||
import { IconBrandGithub as BrandGithub } from '@tabler/icons';
|
import { IconBrandGithub as BrandGithub, IconBrandDiscord as BrandDiscord } from '@tabler/icons';
|
||||||
import { CURRENT_VERSION } from '../../../data/constants';
|
import { CURRENT_VERSION } from '../../../data/constants';
|
||||||
import { useConfig } from '../../tools/state';
|
import { useConfig } from '../../tools/state';
|
||||||
import { ColorSchemeSwitch } from '../ColorSchemeToggle/ColorSchemeSwitch';
|
import { ColorSchemeSwitch } from '../ColorSchemeToggle/ColorSchemeSwitch';
|
||||||
@@ -28,6 +28,15 @@ export default function CommonSettings(args: any) {
|
|||||||
<Group direction="column" grow>
|
<Group direction="column" grow>
|
||||||
<Group grow direction="column" spacing={0}>
|
<Group grow direction="column" spacing={0}>
|
||||||
<Text>Search engine</Text>
|
<Text>Search engine</Text>
|
||||||
|
<Text
|
||||||
|
style={{
|
||||||
|
fontSize: '0.75rem',
|
||||||
|
color: 'gray',
|
||||||
|
marginBottom: '0.5rem',
|
||||||
|
}}
|
||||||
|
>
|
||||||
|
Tip: %s can be used as a placeholder for the query.
|
||||||
|
</Text>
|
||||||
<SegmentedControl
|
<SegmentedControl
|
||||||
fullWidth
|
fullWidth
|
||||||
title="Search engine"
|
title="Search engine"
|
||||||
@@ -53,7 +62,7 @@ export default function CommonSettings(args: any) {
|
|||||||
{searchUrl === 'Custom' && (
|
{searchUrl === 'Custom' && (
|
||||||
<TextInput
|
<TextInput
|
||||||
label="Query URL"
|
label="Query URL"
|
||||||
placeholder="Custom query url"
|
placeholder="Custom query URL"
|
||||||
value={customSearchUrl}
|
value={customSearchUrl}
|
||||||
onChange={(event) => {
|
onChange={(event) => {
|
||||||
setCustomSearchUrl(event.currentTarget.value);
|
setCustomSearchUrl(event.currentTarget.value);
|
||||||
@@ -98,6 +107,7 @@ export default function CommonSettings(args: any) {
|
|||||||
{CURRENT_VERSION}
|
{CURRENT_VERSION}
|
||||||
</Text>
|
</Text>
|
||||||
</Group>
|
</Group>
|
||||||
|
<Group spacing={1}>
|
||||||
<Text
|
<Text
|
||||||
style={{
|
style={{
|
||||||
fontSize: '0.90rem',
|
fontSize: '0.90rem',
|
||||||
@@ -113,6 +123,10 @@ export default function CommonSettings(args: any) {
|
|||||||
ajnart
|
ajnart
|
||||||
</Anchor>
|
</Anchor>
|
||||||
</Text>
|
</Text>
|
||||||
|
<ActionIcon<'a'> component="a" href="https://discord.gg/aCsmEV5RgA" size="lg">
|
||||||
|
<BrandDiscord size={18} />
|
||||||
|
</ActionIcon>
|
||||||
|
</Group>
|
||||||
</Group>
|
</Group>
|
||||||
</Group>
|
</Group>
|
||||||
);
|
);
|
||||||
|
|||||||
@@ -78,7 +78,7 @@ export function Header(props: any) {
|
|||||||
>
|
>
|
||||||
{(styles) => (
|
{(styles) => (
|
||||||
<div style={styles}>
|
<div style={styles}>
|
||||||
<ScrollArea style={{ height: '90vh' }}>
|
<ScrollArea offsetScrollbars style={{ height: '90vh' }}>
|
||||||
<Group my="sm" grow direction="column" style={{ width: 300 }}>
|
<Group my="sm" grow direction="column" style={{ width: 300 }}>
|
||||||
<ModuleWrapper module={CalendarModule} />
|
<ModuleWrapper module={CalendarModule} />
|
||||||
<ModuleWrapper module={TotalDownloadsModule} />
|
<ModuleWrapper module={TotalDownloadsModule} />
|
||||||
|
|||||||
@@ -71,9 +71,11 @@ export default function CalendarComponent(props: any) {
|
|||||||
const currentSonarrMedias: any[] = [];
|
const currentSonarrMedias: any[] = [];
|
||||||
Promise.all(
|
Promise.all(
|
||||||
sonarrServices.map((service) =>
|
sonarrServices.map((service) =>
|
||||||
getMedias(service, 'sonarr').then((res) => {
|
getMedias(service, 'sonarr')
|
||||||
|
.then((res) => {
|
||||||
currentSonarrMedias.push(...res.data);
|
currentSonarrMedias.push(...res.data);
|
||||||
}).catch(() => {
|
})
|
||||||
|
.catch(() => {
|
||||||
currentSonarrMedias.push([]);
|
currentSonarrMedias.push([]);
|
||||||
})
|
})
|
||||||
)
|
)
|
||||||
@@ -83,9 +85,11 @@ export default function CalendarComponent(props: any) {
|
|||||||
const currentRadarrMedias: any[] = [];
|
const currentRadarrMedias: any[] = [];
|
||||||
Promise.all(
|
Promise.all(
|
||||||
radarrServices.map((service) =>
|
radarrServices.map((service) =>
|
||||||
getMedias(service, 'radarr').then((res) => {
|
getMedias(service, 'radarr')
|
||||||
|
.then((res) => {
|
||||||
currentRadarrMedias.push(...res.data);
|
currentRadarrMedias.push(...res.data);
|
||||||
}).catch(() => {
|
})
|
||||||
|
.catch(() => {
|
||||||
currentRadarrMedias.push([]);
|
currentRadarrMedias.push([]);
|
||||||
})
|
})
|
||||||
)
|
)
|
||||||
@@ -95,9 +99,11 @@ export default function CalendarComponent(props: any) {
|
|||||||
const currentLidarrMedias: any[] = [];
|
const currentLidarrMedias: any[] = [];
|
||||||
Promise.all(
|
Promise.all(
|
||||||
lidarrServices.map((service) =>
|
lidarrServices.map((service) =>
|
||||||
getMedias(service, 'lidarr').then((res) => {
|
getMedias(service, 'lidarr')
|
||||||
|
.then((res) => {
|
||||||
currentLidarrMedias.push(...res.data);
|
currentLidarrMedias.push(...res.data);
|
||||||
}).catch(() => {
|
})
|
||||||
|
.catch(() => {
|
||||||
currentLidarrMedias.push([]);
|
currentLidarrMedias.push([]);
|
||||||
})
|
})
|
||||||
)
|
)
|
||||||
@@ -107,9 +113,11 @@ export default function CalendarComponent(props: any) {
|
|||||||
const currentReadarrMedias: any[] = [];
|
const currentReadarrMedias: any[] = [];
|
||||||
Promise.all(
|
Promise.all(
|
||||||
readarrServices.map((service) =>
|
readarrServices.map((service) =>
|
||||||
getMedias(service, 'readarr').then((res) => {
|
getMedias(service, 'readarr')
|
||||||
|
.then((res) => {
|
||||||
currentReadarrMedias.push(...res.data);
|
currentReadarrMedias.push(...res.data);
|
||||||
}).catch(() => {
|
})
|
||||||
|
.catch(() => {
|
||||||
currentReadarrMedias.push([]);
|
currentReadarrMedias.push([]);
|
||||||
})
|
})
|
||||||
)
|
)
|
||||||
|
|||||||
@@ -59,7 +59,7 @@ export default function DownloadComponent() {
|
|||||||
setIsLoading(false);
|
setIsLoading(false);
|
||||||
});
|
});
|
||||||
}, 5000);
|
}, 5000);
|
||||||
}, [config.services]);
|
}, []);
|
||||||
|
|
||||||
if (downloadServices.length === 0) {
|
if (downloadServices.length === 0) {
|
||||||
return (
|
return (
|
||||||
|
|||||||
@@ -30,12 +30,12 @@ export default function PingComponent(props: any) {
|
|||||||
acceptableStatus = status;
|
acceptableStatus = status;
|
||||||
}
|
}
|
||||||
// Checks if reported status is in acceptable status array
|
// Checks if reported status is in acceptable status array
|
||||||
if (acceptableStatus.indexOf((response.status).toString()) >= 0) {
|
if (acceptableStatus.indexOf(response.status.toString()) >= 0) {
|
||||||
setOnline('online');
|
setOnline('online');
|
||||||
setResponse(response.status);
|
setResponse(response.status);
|
||||||
} else {
|
} else {
|
||||||
setOnline('down');
|
setOnline('down');
|
||||||
setResponse(response.status)
|
setResponse(response.status);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -59,7 +59,13 @@ export default function PingComponent(props: any) {
|
|||||||
<Tooltip
|
<Tooltip
|
||||||
radius="lg"
|
radius="lg"
|
||||||
style={{ position: 'absolute', bottom: 20, right: 20 }}
|
style={{ position: 'absolute', bottom: 20, right: 20 }}
|
||||||
label={isOnline === 'loading' ? 'Loading...' : isOnline === 'online' ? `Online - ${response}` : `Offline - ${response}`}
|
label={
|
||||||
|
isOnline === 'loading'
|
||||||
|
? 'Loading...'
|
||||||
|
: isOnline === 'online'
|
||||||
|
? `Online - ${response}`
|
||||||
|
: `Offline - ${response}`
|
||||||
|
}
|
||||||
>
|
>
|
||||||
<motion.div
|
<motion.div
|
||||||
animate={{
|
animate={{
|
||||||
|
|||||||
@@ -96,7 +96,13 @@ export default function SearchBar(props: any) {
|
|||||||
} else if (isTorrent) {
|
} else if (isTorrent) {
|
||||||
window.open(`https://bitsearch.to/search?q=${query.substring(3)}`);
|
window.open(`https://bitsearch.to/search?q=${query.substring(3)}`);
|
||||||
} else {
|
} else {
|
||||||
window.open(`${queryUrl}${values.query}`);
|
window.open(
|
||||||
|
`${
|
||||||
|
queryUrl.includes('%s')
|
||||||
|
? queryUrl.replace('%s', values.query)
|
||||||
|
: queryUrl + values.query
|
||||||
|
}`
|
||||||
|
);
|
||||||
}
|
}
|
||||||
}, 20);
|
}, 20);
|
||||||
})}
|
})}
|
||||||
@@ -114,6 +120,7 @@ export default function SearchBar(props: any) {
|
|||||||
onBlurCapture={() => setOpened(false)}
|
onBlurCapture={() => setOpened(false)}
|
||||||
target={
|
target={
|
||||||
<Autocomplete
|
<Autocomplete
|
||||||
|
autoFocus
|
||||||
variant="filled"
|
variant="filled"
|
||||||
data={autocompleteData}
|
data={autocompleteData}
|
||||||
icon={icon}
|
icon={icon}
|
||||||
|
|||||||
@@ -44,9 +44,9 @@ async function Post(req: NextApiRequest, res: NextApiResponse) {
|
|||||||
});
|
});
|
||||||
}
|
}
|
||||||
// Get the origin URL
|
// Get the origin URL
|
||||||
var { href: origin } = new URL(service.url);
|
let { href: origin } = new URL(service.url);
|
||||||
if (origin.endsWith("/")) {
|
if (origin.endsWith('/')) {
|
||||||
origin = origin.slice(0, -1)
|
origin = origin.slice(0, -1);
|
||||||
}
|
}
|
||||||
const pined = `${origin}${url?.url}?apiKey=${service.apiKey}&end=${nextMonth}&start=${lastMonth}`;
|
const pined = `${origin}${url?.url}?apiKey=${service.apiKey}&end=${nextMonth}&start=${lastMonth}`;
|
||||||
const data = await axios.get(
|
const data = await axios.get(
|
||||||
|
|||||||
@@ -7,53 +7,52 @@ import { Config } from '../../../tools/types';
|
|||||||
|
|
||||||
async function Post(req: NextApiRequest, res: NextApiResponse) {
|
async function Post(req: NextApiRequest, res: NextApiResponse) {
|
||||||
// Get the type of service from the request url
|
// Get the type of service from the request url
|
||||||
const torrents: NormalizedTorrent[] = [];
|
|
||||||
const { config }: { config: Config } = req.body;
|
const { config }: { config: Config } = req.body;
|
||||||
const qBittorrentService = config.services
|
const qBittorrentServices = config.services.filter((service) => service.type === 'qBittorrent');
|
||||||
.filter((service) => service.type === 'qBittorrent')
|
const delugeServices = config.services.filter((service) => service.type === 'Deluge');
|
||||||
.at(0);
|
const transmissionServices = config.services.filter((service) => service.type === 'Transmission');
|
||||||
const delugeService = config.services.filter((service) => service.type === 'Deluge').at(0);
|
|
||||||
const transmissionService = config.services
|
const torrents: NormalizedTorrent[] = [];
|
||||||
.filter((service) => service.type === 'Transmission')
|
|
||||||
.at(0);
|
if (!qBittorrentServices && !delugeServices && !transmissionServices) {
|
||||||
if (!qBittorrentService && !delugeService && !transmissionService) {
|
|
||||||
return res.status(500).json({
|
return res.status(500).json({
|
||||||
statusCode: 500,
|
statusCode: 500,
|
||||||
message: 'Missing service',
|
message: 'Missing services',
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
if (qBittorrentService) {
|
await Promise.all(
|
||||||
torrents.push(
|
qBittorrentServices.map((service) =>
|
||||||
...(
|
new QBittorrent({
|
||||||
await new QBittorrent({
|
baseUrl: service.url,
|
||||||
baseUrl: qBittorrentService.url,
|
username: service.username,
|
||||||
username: qBittorrentService.username,
|
password: service.password,
|
||||||
password: qBittorrentService.password,
|
})
|
||||||
}).getAllData()
|
.getAllData()
|
||||||
).torrents
|
.then((e) => torrents.push(...e.torrents))
|
||||||
|
)
|
||||||
);
|
);
|
||||||
}
|
await Promise.all(
|
||||||
if (delugeService) {
|
delugeServices.map((service) =>
|
||||||
torrents.push(
|
new Deluge({
|
||||||
...(
|
baseUrl: service.url,
|
||||||
await new Deluge({
|
password: 'password' in service ? service.password : '',
|
||||||
baseUrl: delugeService.url,
|
})
|
||||||
password: 'password' in delugeService ? delugeService.password : '',
|
.getAllData()
|
||||||
}).getAllData()
|
.then((e) => torrents.push(...e.torrents))
|
||||||
).torrents
|
)
|
||||||
);
|
);
|
||||||
}
|
// Map transmissionServices
|
||||||
if (transmissionService) {
|
await Promise.all(
|
||||||
torrents.push(
|
transmissionServices.map((service) =>
|
||||||
...(
|
new Transmission({
|
||||||
await new Transmission({
|
baseUrl: service.url,
|
||||||
baseUrl: transmissionService.url,
|
username: 'username' in service ? service.username : '',
|
||||||
username: transmissionService.username,
|
password: 'password' in service ? service.password : '',
|
||||||
password: 'password' in transmissionService ? transmissionService.password : '',
|
})
|
||||||
}).getAllData()
|
.getAllData()
|
||||||
).torrents
|
.then((e) => torrents.push(...e.torrents))
|
||||||
|
)
|
||||||
);
|
);
|
||||||
}
|
|
||||||
res.status(200).json(torrents);
|
res.status(200).json(torrents);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -55,8 +55,8 @@ export const StatusCodes = [
|
|||||||
|
|
||||||
export const Targets = [
|
export const Targets = [
|
||||||
{ value: '_blank', label: 'New Tab' },
|
{ value: '_blank', label: 'New Tab' },
|
||||||
{value: '_top', label: 'Same Window'}
|
{ value: '_top', label: 'Same Window' },
|
||||||
]
|
];
|
||||||
|
|
||||||
export const ServiceTypeList = [
|
export const ServiceTypeList = [
|
||||||
'Other',
|
'Other',
|
||||||
|
|||||||
Reference in New Issue
Block a user