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:
Qstick 2017-09-20 22:05:00 -04:00 committed by GitHub
parent fbe6bfc78e
commit f460f630c3
317 changed files with 9128 additions and 38017 deletions

View file

@ -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
};