chore: import upstream snapshot with attribution
This commit is contained in:
@@ -0,0 +1,24 @@
|
||||
import { Settings } from '@/react/portainer/settings/types';
|
||||
|
||||
import { isBE } from '../../feature-flags/feature-flags.service';
|
||||
|
||||
import { EdgeComputeSettings } from './EdgeComputeSettings';
|
||||
import { DeploymentSyncOptions } from './DeploymentSyncOptions/DeploymentSyncOptions';
|
||||
import { AutomaticEdgeEnvCreation } from './AutomaticEdgeEnvCreation';
|
||||
|
||||
interface Props {
|
||||
settings: Settings;
|
||||
onSubmit(values: Settings): void;
|
||||
}
|
||||
|
||||
export function EdgeComputeSettingsView({ settings, onSubmit }: Props) {
|
||||
return (
|
||||
<div className="row">
|
||||
<EdgeComputeSettings settings={settings} onSubmit={onSubmit} />
|
||||
|
||||
<DeploymentSyncOptions />
|
||||
|
||||
{isBE && <AutomaticEdgeEnvCreation />}
|
||||
</div>
|
||||
);
|
||||
}
|
||||
Reference in New Issue
Block a user