@@ -3,7 +3,7 @@ import React, { Component } from 'react';
3
3
import { connect } from 'react-redux' ;
4
4
import { createSelector } from 'reselect' ;
5
5
import { fetchDelayProfiles , fetchDownloadClients , fetchImportLists , fetchIndexers , fetchNotifications , fetchReleaseProfiles } from 'Store/Actions/settingsActions' ;
6
- import { fetchTagDetails } from 'Store/Actions/tagActions' ;
6
+ import { fetchTagDetails , fetchTags } from 'Store/Actions/tagActions' ;
7
7
import Tags from './Tags' ;
8
8
9
9
function createMapStateToProps ( ) {
@@ -25,6 +25,7 @@ function createMapStateToProps() {
25
25
}
26
26
27
27
const mapDispatchToProps = {
28
+ dispatchFetchTags : fetchTags ,
28
29
dispatchFetchTagDetails : fetchTagDetails ,
29
30
dispatchFetchDelayProfiles : fetchDelayProfiles ,
30
31
dispatchFetchImportLists : fetchImportLists ,
@@ -41,6 +42,7 @@ class MetadatasConnector extends Component {
41
42
42
43
componentDidMount ( ) {
43
44
const {
45
+ dispatchFetchTags,
44
46
dispatchFetchTagDetails,
45
47
dispatchFetchDelayProfiles,
46
48
dispatchFetchImportLists,
@@ -50,6 +52,7 @@ class MetadatasConnector extends Component {
50
52
dispatchFetchDownloadClients
51
53
} = this . props ;
52
54
55
+ dispatchFetchTags ( ) ;
53
56
dispatchFetchTagDetails ( ) ;
54
57
dispatchFetchDelayProfiles ( ) ;
55
58
dispatchFetchImportLists ( ) ;
@@ -72,6 +75,7 @@ class MetadatasConnector extends Component {
72
75
}
73
76
74
77
MetadatasConnector . propTypes = {
78
+ dispatchFetchTags : PropTypes . func . isRequired ,
75
79
dispatchFetchTagDetails : PropTypes . func . isRequired ,
76
80
dispatchFetchDelayProfiles : PropTypes . func . isRequired ,
77
81
dispatchFetchImportLists : PropTypes . func . isRequired ,
0 commit comments