mirror of
https://github.com/OpenNebula/one.git
synced 2025-03-21 14:50:08 +03:00
parent
c3e48a5f45
commit
fdff696bc1
@ -18,7 +18,7 @@ import { useHistory } from 'react-router-dom'
|
||||
import { Typography } from '@mui/material'
|
||||
import {
|
||||
AddSquare,
|
||||
Import,
|
||||
// Import,
|
||||
Trash,
|
||||
PlayOutline,
|
||||
Lock,
|
||||
@ -102,16 +102,6 @@ const Actions = () => {
|
||||
icon: AddSquare,
|
||||
action: () => history.push(PATH.TEMPLATE.VMS.CREATE),
|
||||
},
|
||||
{
|
||||
accessor: VM_TEMPLATE_ACTIONS.IMPORT_DIALOG,
|
||||
tooltip: T.Import,
|
||||
icon: Import,
|
||||
selected: { max: 1 },
|
||||
disabled: true,
|
||||
action: (rows) => {
|
||||
// TODO: go to IMPORT form
|
||||
},
|
||||
},
|
||||
{
|
||||
accessor: VM_TEMPLATE_ACTIONS.INSTANTIATE_DIALOG,
|
||||
tooltip: T.Instantiate,
|
||||
@ -136,6 +126,17 @@ const Actions = () => {
|
||||
history.push(path, [RESOURCE_NAMES.VM_TEMPLATE, template])
|
||||
},
|
||||
},
|
||||
/* {
|
||||
// TODO: Import VM Template from vCenter
|
||||
accessor: VM_TEMPLATE_ACTIONS.IMPORT_DIALOG,
|
||||
tooltip: T.Import,
|
||||
icon: Import,
|
||||
selected: { max: 1 },
|
||||
disabled: true,
|
||||
action: (rows) => {
|
||||
// TODO: go to IMPORT form
|
||||
},
|
||||
}, */
|
||||
{
|
||||
accessor: VM_TEMPLATE_ACTIONS.UPDATE_DIALOG,
|
||||
label: T.Update,
|
||||
|
Loading…
x
Reference in New Issue
Block a user