mirror of
https://github.com/Ravinou/borgwarehouse
synced 2024-06-01 13:32:22 +02:00
ux: add link to doc for LAN command checkbox
This commit is contained in:
parent
2074f90c66
commit
e21a0ac896
|
@ -9,7 +9,6 @@ export default function QuickCommands(props) {
|
|||
//Needed to generate command for borg over LAN instead of WAN if env vars are set and option enabled.
|
||||
let HOSTNAME;
|
||||
let SSH_SERVER_PORT;
|
||||
console.log(props.lanCommand);
|
||||
if (
|
||||
props.lanCommand &&
|
||||
process.env.NEXT_PUBLIC_HOSTNAME_LAN &&
|
||||
|
|
|
@ -8,6 +8,8 @@ import 'react-toastify/dist/ReactToastify.css';
|
|||
import { useForm, Controller } from 'react-hook-form';
|
||||
import { SpinnerDotted } from 'spinners-react';
|
||||
import Select from 'react-select';
|
||||
import Link from 'next/link';
|
||||
import { IconExternalLink } from '@tabler/icons';
|
||||
|
||||
export default function RepoManage(props) {
|
||||
////Var
|
||||
|
@ -380,6 +382,20 @@ export default function RepoManage(props) {
|
|||
<label htmlFor='lanCommand'>
|
||||
Generates commands for use over LAN.
|
||||
</label>
|
||||
<Link
|
||||
style={{
|
||||
alignSelf: 'baseline',
|
||||
marginLeft: '5px',
|
||||
}}
|
||||
href='https://borgwarehouse.com/docs/user-manual/repositories/#generates-commands-for-use-over-lan'
|
||||
rel='noreferrer'
|
||||
target='_blank'
|
||||
>
|
||||
<IconExternalLink
|
||||
size={16}
|
||||
color='#6c737f'
|
||||
/>
|
||||
</Link>
|
||||
</div>
|
||||
{/* ALERT */}
|
||||
<label
|
||||
|
|
Loading…
Reference in a new issue