mirror of
https://github.com/portainer/portainer.git
synced 2025-07-24 15:59:41 +02:00
feat(waiting-room): choose relations when associated endpoint [EE-5187] (#8720)
This commit is contained in:
parent
511adabce2
commit
365316971b
53 changed files with 1712 additions and 303 deletions
|
@ -6,7 +6,9 @@ import { OnSubmit } from './Modal/types';
|
|||
|
||||
let counter = 0;
|
||||
export async function openModal<TProps, TResult>(
|
||||
Modal: ComponentType<{ onSubmit: OnSubmit<TResult> } & TProps>,
|
||||
Modal: ComponentType<
|
||||
{ onSubmit: OnSubmit<TResult> } & Omit<TProps, 'onSubmit'>
|
||||
>,
|
||||
props: TProps = {} as TProps
|
||||
) {
|
||||
const modal = document.createElement('div');
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue