Skip to content

Commit

Permalink
Add EuiPanel around AgentInfo component in MainModuleAgent
Browse files Browse the repository at this point in the history
  • Loading branch information
guidomodarelli committed Oct 17, 2024
1 parent cffd23d commit bf9c817
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions plugins/main/public/components/common/modules/main-agent.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@

import React, { Component, Fragment } from 'react';
import {
EuiPanel,
EuiFlexGroup,
EuiFlexItem,
EuiButtonEmpty,
Expand Down Expand Up @@ -130,12 +131,14 @@ export class MainModuleAgent extends Component {
: 'wz-welcome-page-agent-info wz-welcome-page-agent-info-gray'
}
>
<EuiPanel grow paddingSize='s'>
<AgentInfo
agent={this.props.agent}
isCondensed={false}
hideActions={true}
{...this.props}
></AgentInfo>
</EuiPanel>
</div>
)}
{this.props.tabs && this.props.tabs.length && (
Expand Down

0 comments on commit bf9c817

Please sign in to comment.