1
0
Fork 0
mirror of https://github.com/portainer/portainer.git synced 2025-07-24 15:59:41 +02:00

feat(edge): EE-4621 support high latency for tunnel (#8302)

This commit is contained in:
cmeng 2023-03-04 09:13:37 +13:00 committed by GitHub
parent 07df4b1591
commit 60275dd31c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
8 changed files with 111 additions and 23 deletions

View file

@ -6,9 +6,10 @@ import { ButtonOptions } from './types';
export function buildConfirmButton(
label = 'Confirm',
color: ComponentProps<typeof Button>['color'] = 'primary'
color: ComponentProps<typeof Button>['color'] = 'primary',
timeout = 0
): ButtonOptions<true> {
return { label, color, value: true };
return { label, color, value: true, timeout };
}
export function buildCancelButton(label = 'Cancel'): ButtonOptions<false> {