Skip to content

Commit

Permalink
Remove unimplemented link to wizard
Browse files Browse the repository at this point in the history
  • Loading branch information
yaacov committed Jun 12, 2019
1 parent 4e76cea commit cd9a4d4
Showing 1 changed file with 1 addition and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -83,20 +83,12 @@ const VmTemplateList = (props) => <List {...props} Header={VmTemplateHeader} Row
export const VmTemplatesPageTitle = 'Virtual Machine Templates';

const createItems = {
wizard: 'Create with Wizard',
yaml: 'Create from YAML',
};

const createProps = (namespace) => ({
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) => (
Expand Down

0 comments on commit cd9a4d4

Please sign in to comment.