mirror of
https://github.com/lidarr/Lidarr
synced 2025-01-03 13:34:54 +00:00
Don't block docker UI updates
This commit is contained in:
parent
09435de624
commit
38648f6621
2 changed files with 1 additions and 6 deletions
|
@ -31,7 +31,6 @@ class Updates extends Component {
|
||||||
items,
|
items,
|
||||||
isInstallingUpdate,
|
isInstallingUpdate,
|
||||||
updateMechanism,
|
updateMechanism,
|
||||||
isDocker,
|
|
||||||
updateMechanismMessage,
|
updateMechanismMessage,
|
||||||
shortDateFormat,
|
shortDateFormat,
|
||||||
longDateFormat,
|
longDateFormat,
|
||||||
|
@ -71,7 +70,7 @@ class Updates extends Component {
|
||||||
hasUpdateToInstall &&
|
hasUpdateToInstall &&
|
||||||
<div className={styles.messageContainer}>
|
<div className={styles.messageContainer}>
|
||||||
{
|
{
|
||||||
(updateMechanism === 'builtIn' || updateMechanism === 'script') && !isDocker ?
|
updateMechanism === 'builtIn' || updateMechanism === 'script' ?
|
||||||
<SpinnerButton
|
<SpinnerButton
|
||||||
className={styles.updateAvailable}
|
className={styles.updateAvailable}
|
||||||
kind={kinds.PRIMARY}
|
kind={kinds.PRIMARY}
|
||||||
|
@ -239,7 +238,6 @@ Updates.propTypes = {
|
||||||
generalSettingsError: PropTypes.object,
|
generalSettingsError: PropTypes.object,
|
||||||
items: PropTypes.array.isRequired,
|
items: PropTypes.array.isRequired,
|
||||||
isInstallingUpdate: PropTypes.bool.isRequired,
|
isInstallingUpdate: PropTypes.bool.isRequired,
|
||||||
isDocker: PropTypes.bool.isRequired,
|
|
||||||
updateMechanism: PropTypes.string,
|
updateMechanism: PropTypes.string,
|
||||||
updateMechanismMessage: PropTypes.string,
|
updateMechanismMessage: PropTypes.string,
|
||||||
shortDateFormat: PropTypes.string.isRequired,
|
shortDateFormat: PropTypes.string.isRequired,
|
||||||
|
|
|
@ -18,7 +18,6 @@ function createMapStateToProps() {
|
||||||
(state) => state.system.updates,
|
(state) => state.system.updates,
|
||||||
(state) => state.settings.general,
|
(state) => state.settings.general,
|
||||||
createUISettingsSelector(),
|
createUISettingsSelector(),
|
||||||
createSystemStatusSelector(),
|
|
||||||
createCommandExecutingSelector(commandNames.APPLICATION_UPDATE),
|
createCommandExecutingSelector(commandNames.APPLICATION_UPDATE),
|
||||||
(
|
(
|
||||||
currentVersion,
|
currentVersion,
|
||||||
|
@ -26,7 +25,6 @@ function createMapStateToProps() {
|
||||||
updates,
|
updates,
|
||||||
generalSettings,
|
generalSettings,
|
||||||
uiSettings,
|
uiSettings,
|
||||||
systemStatus,
|
|
||||||
isInstallingUpdate
|
isInstallingUpdate
|
||||||
) => {
|
) => {
|
||||||
const {
|
const {
|
||||||
|
@ -45,7 +43,6 @@ function createMapStateToProps() {
|
||||||
generalSettingsError: generalSettings.error,
|
generalSettingsError: generalSettings.error,
|
||||||
items,
|
items,
|
||||||
isInstallingUpdate,
|
isInstallingUpdate,
|
||||||
isDocker: systemStatus.isDocker,
|
|
||||||
updateMechanism: generalSettings.item.updateMechanism,
|
updateMechanism: generalSettings.item.updateMechanism,
|
||||||
updateMechanismMessage: status.packageUpdateMechanismMessage,
|
updateMechanismMessage: status.packageUpdateMechanismMessage,
|
||||||
shortDateFormat: uiSettings.shortDateFormat,
|
shortDateFormat: uiSettings.shortDateFormat,
|
||||||
|
|
Loading…
Reference in a new issue