mirror of https://github.com/portainer/portainer
fix(docker): removed docker.sock code in docker API [EE-3612] (#7586)
parent
2f0dbf2ae1
commit
eb5036b96f
|
@ -1,7 +1,6 @@
|
||||||
import { Environment } from '@/portainer/environments/types';
|
import { Environment } from '@/portainer/environments/types';
|
||||||
|
|
||||||
import { APIForm } from './APIForm';
|
import { APIForm } from './APIForm';
|
||||||
import { DeploymentScripts } from './DeploymentScripts';
|
|
||||||
|
|
||||||
interface Props {
|
interface Props {
|
||||||
onCreate(environment: Environment): void;
|
onCreate(environment: Environment): void;
|
||||||
|
@ -9,12 +8,8 @@ interface Props {
|
||||||
|
|
||||||
export function APITab({ onCreate }: Props) {
|
export function APITab({ onCreate }: Props) {
|
||||||
return (
|
return (
|
||||||
<>
|
<div className="mt-5">
|
||||||
<DeploymentScripts />
|
<APIForm onCreate={onCreate} />
|
||||||
|
</div>
|
||||||
<div className="mt-5">
|
|
||||||
<APIForm onCreate={onCreate} />
|
|
||||||
</div>
|
|
||||||
</>
|
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue