summaryrefslogtreecommitdiffstats
path: root/openecomp-ui/src/sdc-app/onboarding/versionsPage
diff options
context:
space:
mode:
Diffstat (limited to 'openecomp-ui/src/sdc-app/onboarding/versionsPage')
-rw-r--r--openecomp-ui/src/sdc-app/onboarding/versionsPage/VersionsPage.jsx9
1 files changed, 2 insertions, 7 deletions
diff --git a/openecomp-ui/src/sdc-app/onboarding/versionsPage/VersionsPage.jsx b/openecomp-ui/src/sdc-app/onboarding/versionsPage/VersionsPage.jsx
index 504de99e12..983d144969 100644
--- a/openecomp-ui/src/sdc-app/onboarding/versionsPage/VersionsPage.jsx
+++ b/openecomp-ui/src/sdc-app/onboarding/versionsPage/VersionsPage.jsx
@@ -20,7 +20,6 @@ import Tree from 'nfvo-components/tree/Tree.jsx';
import SVGIcon from 'sdc-ui/lib/react/SVGIcon.js';
import Button from 'sdc-ui/lib/react/Button.js';
import i18n from 'nfvo-utils/i18n/i18n.js';
-import featureToggle from 'sdc-app/features/featureToggle.js';
const ArchiveRestoreButton = ({ depricateAction, title, isArchived }) => (
<div className="deprecate-btn-wrapper">
@@ -34,7 +33,7 @@ const ArchiveRestoreButton = ({ depricateAction, title, isArchived }) => (
) : (
<SVGIcon
name="archiveBox"
- title={i18n('Archive item')}
+ title={i18n('Archive')}
color="secondary"
onClick={depricateAction}
/>
@@ -46,10 +45,6 @@ const ArchivedTitle = () => (
<div className="archived-title">{i18n('Archived')}</div>
);
-const FeatureDepricatedButton = featureToggle('ARCHIVE_ITEM')(
- ArchiveRestoreButton
-);
-
const VersionPageTitle = ({
itemName,
isArchived,
@@ -64,7 +59,7 @@ const VersionPageTitle = ({
{isArchived ? <ArchivedTitle /> : null}
</div>
{isCollaborator && (
- <FeatureDepricatedButton
+ <ArchiveRestoreButton
isArchived={isArchived}
depricateAction={
isArchived ? () => onRestore() : () => onArchive()