Skip to content

Commit

Permalink
Add duplicate option for non-OOTB custom serving runtimes
Browse files Browse the repository at this point in the history
  • Loading branch information
DaoDaoNoCode committed Sep 18, 2023
1 parent e532f4d commit eb83a85
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 eb83a85

Please sign in to comment.