mirror of
https://github.com/OpenNebula/one.git
synced 2025-03-22 18:50:08 +03:00
This reverts commit bbead3597ef7215055a39659f4a32a205cdaec6a.
This commit is contained in:
parent
bbead3597e
commit
26fbcc95e6
@ -15,8 +15,7 @@
|
||||
* ------------------------------------------------------------------------- */
|
||||
import { ReactElement, useMemo } from 'react'
|
||||
import PropTypes from 'prop-types'
|
||||
import HintIcon from 'iconoir-react/dist/QuestionMarkCircle'
|
||||
import { Stack, Tooltip } from '@mui/material'
|
||||
import { Stack } from '@mui/material'
|
||||
|
||||
import { useGetVmQuery } from 'client/features/OneApi/vm'
|
||||
import {
|
||||
@ -25,7 +24,6 @@ import {
|
||||
DeleteAction,
|
||||
} from 'client/components/Tabs/Vm/Snapshot/Actions'
|
||||
import SnapshotCard from 'client/components/Cards/SnapshotCard'
|
||||
import { T, VM_ACTIONS } from 'client/constants'
|
||||
|
||||
import {
|
||||
getSnapshotList,
|
||||
@ -61,14 +59,9 @@ const VmSnapshotTab = ({ tabProps: { actions } = {}, id }) => {
|
||||
|
||||
return (
|
||||
<div>
|
||||
<Stack direction="row" gap="1em" alignItems="center">
|
||||
{actionsAvailable?.includes(SNAPSHOT_CREATE) && (
|
||||
<CreateAction vmId={id} />
|
||||
)}
|
||||
<Tooltip arrow title={Tr(T.VmSnapshotHint)}>
|
||||
<HintIcon />
|
||||
</Tooltip>
|
||||
</Stack>
|
||||
{actionsAvailable?.includes(SNAPSHOT_CREATE) && (
|
||||
<CreateAction vmId={id} />
|
||||
)}
|
||||
|
||||
<Stack gap="1em" py="0.8em" data-cy="snapshots">
|
||||
{snapshots.map((snapshot) => (
|
||||
|
@ -497,9 +497,6 @@ module.exports = {
|
||||
HostnamePortsForwardedToVmPorts: '%1$s ports %2$s forwarded to VM ports %3$s',
|
||||
/* VM schema - snapshot */
|
||||
VmSnapshotNameConcept: 'The new snapshot name. It can be empty',
|
||||
VmSnapshotHint: `
|
||||
Snapshots in this tab refer to System Snapshots, which includes all disks and
|
||||
the memory state of the VM. For disk snapshots, see the Storage tab`,
|
||||
/* VM schema - actions */
|
||||
EnforceCapacityChecks: 'Enforce capacity checks',
|
||||
EnforceCapacityChecksConcept: `
|
||||
|
Loading…
x
Reference in New Issue
Block a user