From 26fbcc95e677b2b7ab283a29c9de7b3f6efff5fd Mon Sep 17 00:00:00 2001 From: "Ruben S. Montero" Date: Mon, 4 Jul 2022 20:55:27 +0200 Subject: [PATCH] Revert "F #1437: Add hint on the VM snapshot tab (#2216)" This reverts commit bbead3597ef7215055a39659f4a32a205cdaec6a. --- .../client/components/Tabs/Vm/Snapshot/index.js | 15 ++++----------- src/fireedge/src/client/constants/translates.js | 3 --- 2 files changed, 4 insertions(+), 14 deletions(-) diff --git a/src/fireedge/src/client/components/Tabs/Vm/Snapshot/index.js b/src/fireedge/src/client/components/Tabs/Vm/Snapshot/index.js index 31db8adfa4..dcc45b1ae2 100644 --- a/src/fireedge/src/client/components/Tabs/Vm/Snapshot/index.js +++ b/src/fireedge/src/client/components/Tabs/Vm/Snapshot/index.js @@ -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 (
- - {actionsAvailable?.includes(SNAPSHOT_CREATE) && ( - - )} - - - - + {actionsAvailable?.includes(SNAPSHOT_CREATE) && ( + + )} {snapshots.map((snapshot) => ( diff --git a/src/fireedge/src/client/constants/translates.js b/src/fireedge/src/client/constants/translates.js index 185738da1f..37c0218134 100644 --- a/src/fireedge/src/client/constants/translates.js +++ b/src/fireedge/src/client/constants/translates.js @@ -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: `