diff --git a/frontend/packages/kubevirt-plugin/src/components/vm-template.tsx b/frontend/packages/kubevirt-plugin/src/components/vm-template.tsx index 25ac6efa0399..0f1af38b58f5 100644 --- a/frontend/packages/kubevirt-plugin/src/components/vm-template.tsx +++ b/frontend/packages/kubevirt-plugin/src/components/vm-template.tsx @@ -83,20 +83,12 @@ const VmTemplateList = (props) => ({ items: createItems, - createLink: (type) => { - switch (type) { - case 'wizard': - return () => ''; - default: - return `${resourcePath(VmTemplateModel.kind, null, namespace)}/~new`; - } - }, + createLink: () => `${resourcePath(VmTemplateModel.kind, null, namespace)}/~new`, }); export const VirtualMachineTemplatesPage = (props) => (