mirror of
https://github.com/Readarr/Readarr.git
synced 2026-04-21 22:04:31 -04:00
Fixed: Highlight currently install version of Lidarr in Updates
This commit is contained in:
@@ -12,11 +12,18 @@ import Updates from './Updates';
|
||||
|
||||
function createMapStateToProps() {
|
||||
return createSelector(
|
||||
(state) => state.app.version,
|
||||
(state) => state.system.updates,
|
||||
createUISettingsSelector(),
|
||||
createCommandExecutingSelector(commandNames.APPLICATION_UPDATE),
|
||||
createSystemStatusSelector(),
|
||||
(updates, uiSettings, isInstallingUpdate, systemStatus) => {
|
||||
(
|
||||
currentVersion,
|
||||
updates,
|
||||
uiSettings,
|
||||
isInstallingUpdate,
|
||||
systemStatus
|
||||
) => {
|
||||
const {
|
||||
isFetching,
|
||||
isPopulated,
|
||||
@@ -25,6 +32,7 @@ function createMapStateToProps() {
|
||||
} = updates;
|
||||
|
||||
return {
|
||||
currentVersion,
|
||||
isFetching,
|
||||
isPopulated,
|
||||
error,
|
||||
|
||||
Reference in New Issue
Block a user