Skip to content

Commit

Permalink
Fix updater (#127)
Browse files Browse the repository at this point in the history
  • Loading branch information
hidden4003 authored Mar 3, 2018
1 parent 703b968 commit 92fdc1f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/components/Buttons/UpdateButton.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ function mapStateToProps(state) {
const { updateAvailable, webuiVersionUpdate, fetching } = state;

return {
enabled: updateAvailable.status,
enabled: updateAvailable,
isFetching: fetching.downloadUpdates === true,
updateStatus: webuiVersionUpdate,
};
Expand Down
2 changes: 1 addition & 1 deletion src/core/reducers.js
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ const sidebarToggle = handleAction(
);
const autoUpdate = handleAction(
SET_AUTOUPDATE,
(state, action) => (action.error ? state : action.payload), false,
(state, action) => action.payload, false,
);
const selectedImportFolderSeries = handleAction(
SELECT_IMPORT_FOLDER_SERIES,
Expand Down

0 comments on commit 92fdc1f

Please sign in to comment.