diff --git a/frontend/src/Artist/Index/ArtistIndex.js b/frontend/src/Artist/Index/ArtistIndex.js
index fcb30fb0b..40b0535ee 100644
--- a/frontend/src/Artist/Index/ArtistIndex.js
+++ b/frontend/src/Artist/Index/ArtistIndex.js
@@ -348,6 +348,10 @@ class ArtistIndex extends Component {
state.artistIndex.bannerOptions,
- createClientSideCollectionSelector('artist', 'artistIndex'),
createUISettingsSelector(),
createDimensionsSelector(),
- (bannerOptions, artist, uiSettings, dimensions) => {
+ (bannerOptions, uiSettings, dimensions) => {
return {
bannerOptions,
showRelativeDates: uiSettings.showRelativeDates,
shortDateFormat: uiSettings.shortDateFormat,
timeFormat: uiSettings.timeFormat,
- isSmallScreen: dimensions.isSmallScreen,
- ...artist
+ isSmallScreen: dimensions.isSmallScreen
};
}
);
diff --git a/frontend/src/Artist/Index/Overview/ArtistIndexOverviewsConnector.js b/frontend/src/Artist/Index/Overview/ArtistIndexOverviewsConnector.js
index 94f595d05..595a471b1 100644
--- a/frontend/src/Artist/Index/Overview/ArtistIndexOverviewsConnector.js
+++ b/frontend/src/Artist/Index/Overview/ArtistIndexOverviewsConnector.js
@@ -1,6 +1,5 @@
import { connect } from 'react-redux';
import { createSelector } from 'reselect';
-import createClientSideCollectionSelector from 'Store/Selectors/createClientSideCollectionSelector';
import createUISettingsSelector from 'Store/Selectors/createUISettingsSelector';
import createDimensionsSelector from 'Store/Selectors/createDimensionsSelector';
import ArtistIndexOverviews from './ArtistIndexOverviews';
@@ -8,18 +7,16 @@ import ArtistIndexOverviews from './ArtistIndexOverviews';
function createMapStateToProps() {
return createSelector(
(state) => state.artistIndex.overviewOptions,
- createClientSideCollectionSelector('artist', 'artistIndex'),
createUISettingsSelector(),
createDimensionsSelector(),
- (overviewOptions, artist, uiSettings, dimensions) => {
+ (overviewOptions, uiSettings, dimensions) => {
return {
overviewOptions,
showRelativeDates: uiSettings.showRelativeDates,
shortDateFormat: uiSettings.shortDateFormat,
longDateFormat: uiSettings.longDateFormat,
timeFormat: uiSettings.timeFormat,
- isSmallScreen: dimensions.isSmallScreen,
- ...artist
+ isSmallScreen: dimensions.isSmallScreen
};
}
);
diff --git a/frontend/src/Artist/Index/Posters/ArtistIndexPostersConnector.js b/frontend/src/Artist/Index/Posters/ArtistIndexPostersConnector.js
index 25ef5b4ed..04c187e4e 100644
--- a/frontend/src/Artist/Index/Posters/ArtistIndexPostersConnector.js
+++ b/frontend/src/Artist/Index/Posters/ArtistIndexPostersConnector.js
@@ -1,6 +1,5 @@
import { connect } from 'react-redux';
import { createSelector } from 'reselect';
-import createClientSideCollectionSelector from 'Store/Selectors/createClientSideCollectionSelector';
import createUISettingsSelector from 'Store/Selectors/createUISettingsSelector';
import createDimensionsSelector from 'Store/Selectors/createDimensionsSelector';
import ArtistIndexPosters from './ArtistIndexPosters';
@@ -8,17 +7,15 @@ import ArtistIndexPosters from './ArtistIndexPosters';
function createMapStateToProps() {
return createSelector(
(state) => state.artistIndex.posterOptions,
- createClientSideCollectionSelector('artist', 'artistIndex'),
createUISettingsSelector(),
createDimensionsSelector(),
- (posterOptions, artist, uiSettings, dimensions) => {
+ (posterOptions, uiSettings, dimensions) => {
return {
posterOptions,
showRelativeDates: uiSettings.showRelativeDates,
shortDateFormat: uiSettings.shortDateFormat,
timeFormat: uiSettings.timeFormat,
- isSmallScreen: dimensions.isSmallScreen,
- ...artist
+ isSmallScreen: dimensions.isSmallScreen
};
}
);
diff --git a/frontend/src/Artist/Index/Table/ArtistIndexTableConnector.js b/frontend/src/Artist/Index/Table/ArtistIndexTableConnector.js
index a598b201c..3a97425cc 100644
--- a/frontend/src/Artist/Index/Table/ArtistIndexTableConnector.js
+++ b/frontend/src/Artist/Index/Table/ArtistIndexTableConnector.js
@@ -1,18 +1,18 @@
import { connect } from 'react-redux';
import { createSelector } from 'reselect';
-import createClientSideCollectionSelector from 'Store/Selectors/createClientSideCollectionSelector';
import { setArtistSort } from 'Store/Actions/artistIndexActions';
import ArtistIndexTable from './ArtistIndexTable';
function createMapStateToProps() {
return createSelector(
(state) => state.app.dimensions,
- createClientSideCollectionSelector('artist', 'artistIndex'),
- (dimensions, artist) => {
+ (state) => state.artistIndex.tableOptions,
+ (state) => state.artistIndex.columns,
+ (dimensions, tableOptions, columns) => {
return {
isSmallScreen: dimensions.isSmallScreen,
- ...artist,
- showBanners: artist.tableOptions.showBanners
+ showBanners: tableOptions.showBanners,
+ columns
};
}
);