Renames in Frontend

This commit is contained in:
Qstick
2020-05-15 23:32:52 -04:00
committed by ta264
parent ee4e44b81a
commit ee43ccf620
387 changed files with 4036 additions and 4364 deletions
@@ -16,11 +16,11 @@ import Missing from './Missing';
function createMapStateToProps() {
return createSelector(
(state) => state.wanted.missing,
createCommandExecutingSelector(commandNames.MISSING_ALBUM_SEARCH),
(missing, isSearchingForMissingAlbums) => {
createCommandExecutingSelector(commandNames.MISSING_BOOK_SEARCH),
(missing, isSearchingForMissingBooks) => {
return {
isSearchingForMissingAlbums,
isSearchingForMissingBooks,
isSaving: missing.items.filter((m) => m.isSaving).length > 1,
...missing
};
@@ -47,7 +47,7 @@ class MissingConnector extends Component {
gotoMissingFirstPage
} = this.props;
registerPagePopulator(this.repopulate, ['trackFileUpdated']);
registerPagePopulator(this.repopulate, ['bookFileUpdated']);
if (useCurrentPage) {
fetchMissing();
@@ -117,14 +117,14 @@ class MissingConnector extends Component {
onSearchSelectedPress = (selected) => {
this.props.executeCommand({
name: commandNames.ALBUM_SEARCH,
name: commandNames.BOOK_SEARCH,
bookIds: selected
});
}
onSearchAllMissingPress = () => {
this.props.executeCommand({
name: commandNames.MISSING_ALBUM_SEARCH
name: commandNames.MISSING_BOOK_SEARCH
});
}