import { connect } from 'react-redux';
import { fetchArchive, revive } from './../../store/archive/actions';
import ViewToggleComponent from './../feature/view/view-component';
import { hasPermission } from '../../permissions';

export default connect(
    (state, props) => ({
        features: state.archive.get('list').toArray(),
        featureToggle: state.archive
            .get('list')
            .toArray()
            .find(toggle => toggle.name === props.featureToggleName),
        activeTab: props.activeTab,
        hasPermission: hasPermission.bind(null, state.user.get('profile')),
    }),
    {
        fetchArchive,
        revive,
    }
)(ViewToggleComponent);

@@ -220,16 +220,78 @@
 ssions';
+%0Aimport %7B fetchTags %7D from '../../store/feature-tags/actions';
 %0A%0Aexport
@@ -543,16 +543,104 @@
 eName),%0A
+        tagTypes: state.tagTypes.toJS(),%0A        featureTags: state.featureTags.toJS(),%0A
         
@@ -775,24 +775,24 @@
 tchArchive,%0A
-
         revi
@@ -791,24 +791,43 @@
     revive,%0A
+        fetchTags,%0A
     %7D%0A)(View

Fix missing methods for displaying tags on archived toggles