Skip to content

Commit

Permalink
Merge branch 'main' into mta-1872
Browse files Browse the repository at this point in the history
  • Loading branch information
ibolton336 authored Feb 19, 2024
2 parents 898e4df + 9b8a0ff commit 64addff
Showing 1 changed file with 12 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ import {
MenuToggle,
MenuToggleElement,
Modal,
Tooltip,
} from "@patternfly/react-core";
import { PencilAltIcon, TagIcon, EllipsisVIcon } from "@patternfly/react-icons";
import {
Expand Down Expand Up @@ -359,9 +360,8 @@ export const ApplicationsTable: React.FC = () => {
selectOptions: [
...new Set(
applications
.flatMap(
(application) =>
application?.archetypes?.map((archetype) => archetype.name)
.flatMap((application) =>
application?.archetypes?.map((archetype) => archetype.name)
)
.filter(Boolean)
),
Expand Down Expand Up @@ -948,13 +948,15 @@ export const ApplicationsTable: React.FC = () => {

<Td isActionCell id="pencil-action">
{applicationWriteAccess && (
<Button
variant="plain"
icon={<PencilAltIcon />}
onClick={() =>
setSaveApplicationModalState(application)
}
/>
<Tooltip content={t("actions.edit")}>
<Button
variant="plain"
icon={<PencilAltIcon />}
onClick={() =>
setSaveApplicationModalState(application)
}
/>
</Tooltip>
)}
</Td>
<Td isActionCell id="row-actions">
Expand Down

0 comments on commit 64addff

Please sign in to comment.