mirror of
https://github.com/Readarr/Readarr.git
synced 2026-04-20 21:54:25 -04:00
Target to .NET 4.6.1, Update SignalR, Owin, Nancy (#84)
* Target .net 4.6.1 * Update to SignalR 2.2.2 * Fix Socks Reference in NZBDrone.Common * UI Fixes, Build Fixes * Update Nancy to 1.4.4 * Upgrade Microsoft Owin to 3.1.0 * Delete npm-shrinkwrap.json * Fix SignalR Messages
This commit is contained in:
@@ -43,10 +43,16 @@ class AppUpdatedModalContentConnector extends Component {
|
||||
//
|
||||
// Lifecycle
|
||||
|
||||
componentDidUpdate() {
|
||||
componentDidMount() {
|
||||
this.props.dispatchFetchUpdates();
|
||||
}
|
||||
|
||||
componentDidUpdate(prevProps) {
|
||||
if (prevProps.version !== this.props.version) {
|
||||
this.props.dispatchFetchUpdates();
|
||||
}
|
||||
}
|
||||
|
||||
//
|
||||
// Render
|
||||
|
||||
@@ -63,6 +69,7 @@ class AppUpdatedModalContentConnector extends Component {
|
||||
}
|
||||
|
||||
AppUpdatedModalContentConnector.propTypes = {
|
||||
version: PropTypes.string.isRequired,
|
||||
dispatchFetchUpdates: PropTypes.func.isRequired
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user