Skip to content

Commit

Permalink
Set isClickable and isSelectable on Cards with actions
Browse files Browse the repository at this point in the history
  • Loading branch information
jelly authored and martinpitt committed Jul 26, 2023
1 parent c058fad commit ad133bf
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/Containers.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -806,7 +806,7 @@ class Containers extends React.Component {
};

const card = (
<Card id="containers-containers" className="containers-containers">
<Card id="containers-containers" className="containers-containers" isClickable isSelectable>
<CardHeader actions={{ actions: filterRunning }}>
<CardTitle><Text component={TextVariants.h2}>{_("Containers")}</Text></CardTitle>
</CardHeader>
Expand Down Expand Up @@ -864,7 +864,9 @@ class Containers extends React.Component {
id={'table-' + (section == "no-pod" ? section : this.props.pods[section].Name)}
isPlain={section == "no-pod"}
isFlat={section != "no-pod"}
className="container-pod">
className="container-pod"
isClickable
isSelectable>
{caption && <CardHeader actions={{ actions, className: "panel-actions" }}>
<CardTitle>
<Flex justifyContent={{ default: 'justifyContentFlexStart' }}>
Expand Down

0 comments on commit ad133bf

Please sign in to comment.