Skip to content

Commit

Permalink
remove integration info prop
Browse files Browse the repository at this point in the history
  • Loading branch information
orouz committed Jan 30, 2023
1 parent 48c18ac commit 4aad0dd
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 11 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -287,7 +287,6 @@ export const CreatePackagePolicySinglePage: CreatePackagePolicyParams = ({
newPolicy={packagePolicy}
onChange={handleExtensionViewOnChange}
validationResults={validationResults}
integrationInfo={integrationInfo}
isEditPage={false}
/>
</ExtensionWrapper>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -360,7 +360,6 @@ export const EditPackagePolicyForm = memo<{
newPolicy={packagePolicy}
onChange={handleExtensionViewOnChange}
validationResults={validationResults}
integrationInfo={integrationInfo}
isEditPage={true}
/>
</ExtensionWrapper>
Expand Down
10 changes: 1 addition & 9 deletions x-pack/plugins/fleet/public/types/ui_extensions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,14 +12,7 @@ import type { FleetServerAgentComponentUnit } from '../../common/types/models/ag

import type { PackagePolicyValidationResults } from '../services';

import type {
Agent,
AgentPolicy,
NewPackagePolicy,
PackageInfo,
PackagePolicy,
RegistryPolicyTemplate,
} from '.';
import type { Agent, AgentPolicy, NewPackagePolicy, PackageInfo, PackagePolicy } from '.';

/** Register a Fleet UI extension */
export type UIExtensionRegistrationCallback = (extensionPoint: UIExtensionPoint) => void;
Expand All @@ -43,7 +36,6 @@ export type PackagePolicyReplaceDefineStepExtensionComponentProps = (
validationResults?: PackagePolicyValidationResults;
agentPolicy?: AgentPolicy;
packageInfo: PackageInfo;
integrationInfo?: RegistryPolicyTemplate;
};

/**
Expand Down

0 comments on commit 4aad0dd

Please sign in to comment.