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:
parent
07df4b1591
commit
60275dd31c
8 changed files with 111 additions and 23 deletions
|
@ -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> {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue