Skip to content

Commit

Permalink
Merge pull request #1819 from DaoDaoNoCode/upstream-issue-1499
Browse files Browse the repository at this point in the history
Add duplicate option for non-OOTB custom serving runtimes
  • Loading branch information
openshift-merge-robot authored Sep 21, 2023
2 parents 673614e + eb83a85 commit 31b70b7
Showing 1 changed file with 10 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,16 @@ const CustomServingRuntimeTableRow: React.FC<CustomServingRuntimeTableRowProps>
onClick: () =>
navigate(`/servingRuntimes/editServingRuntime/${servingRuntimeName}`),
},
{
title: 'Duplicate',
onClick: () =>
navigate('/servingRuntimes/addServingRuntime', {
state: { template: template },
}),
},
{
isSeparator: true,
},
{
title: 'Delete',
onClick: () => onDeleteTemplate(template),
Expand Down

0 comments on commit 31b70b7

Please sign in to comment.