Skip to content

Commit

Permalink
final fit n finish changes
Browse files Browse the repository at this point in the history
Signed-off-by: Shubh Sahu <shubhvs@amazon.com>
  • Loading branch information
Shubh Sahu committed Sep 2, 2024
1 parent 4c3f555 commit 60a21ab
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -18,14 +18,13 @@ interface PolicySettingsProps {
description: string;
sequenceNumber: number;
ismTemplates: ISMTemplate[] | ISMTemplate | null;
useNewUX?: boolean;
}

interface PolicySettingsState {}

export default class PolicySettings extends Component<PolicySettingsProps, PolicySettingsState> {
render() {
const { policyId, errorNotification, primaryTerm, lastUpdated, description, sequenceNumber, useNewUX } = this.props;
const { policyId, errorNotification, primaryTerm, lastUpdated, description, sequenceNumber } = this.props;

const updatedDate = lastUpdated ? new Date(lastUpdated).toLocaleString() : "-";

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -327,7 +327,6 @@ export class PolicyDetails extends Component<PolicyDetailsProps, PolicyDetailsSt
description={policy.policy.description}
sequenceNumber={policy.seqNo}
ismTemplates={policy.policy.ism_template || []}
useNewUX={useNewUX}
/>
<EuiSpacer />
<EuiPanel>
Expand All @@ -347,7 +346,6 @@ export class PolicyDetails extends Component<PolicyDetailsProps, PolicyDetailsSt
policy={policy.policy}
onClickDeleteState={() => {}}
isReadOnly={true}
useNewUx={useNewUX}
/>
{jsonModal()}
{deleteModal()}
Expand Down

0 comments on commit 60a21ab

Please sign in to comment.