mirror of
https://github.com/zoriya/flood.git
synced 2026-06-06 03:56:42 +00:00
Fixes missing session transfer totals
This commit is contained in:
@@ -41,7 +41,7 @@ class AuthEnforcer extends React.Component {
|
||||
authStatusDetermined: false,
|
||||
dependencies: {},
|
||||
isAuthenticated: false,
|
||||
isClientConnected: false,
|
||||
isClientConnected: ClientStatusStore.getIsConnected(),
|
||||
dependenciesLoaded: false,
|
||||
};
|
||||
|
||||
|
||||
@@ -27,7 +27,7 @@ class TransferData extends React.Component {
|
||||
|
||||
this.state = {
|
||||
graphInspectorPoint: null,
|
||||
isClientConnected: false,
|
||||
isClientConnected: ClientStatusStore.getIsConnected(),
|
||||
sidebarWidth: 0,
|
||||
transferHistoryRequestSuccess: false,
|
||||
transferDataRequestError: false,
|
||||
|
||||
@@ -30,7 +30,7 @@ class TransferRateDetails extends React.Component {
|
||||
super();
|
||||
|
||||
this.state = {
|
||||
isClientConnected: false,
|
||||
isClientConnected: ClientStatusStore.getIsConnected(),
|
||||
inspectorPoint: null,
|
||||
};
|
||||
|
||||
|
||||
@@ -67,6 +67,7 @@ class TorrentListContainer extends React.Component {
|
||||
displayedProperties: SettingsStore.getFloodSettings('torrentDetails'),
|
||||
emptyTorrentList: false,
|
||||
handleTorrentPriorityChange: null,
|
||||
isClientConnected: ClientStatusStore.getIsConnected(),
|
||||
tableScrollLeft: 0,
|
||||
torrentCount: 0,
|
||||
torrentHeight: null,
|
||||
|
||||
@@ -14,6 +14,7 @@ const eventTypes = [
|
||||
'AUTH_REGISTER_SUCCESS',
|
||||
'AUTH_VERIFY_ERROR',
|
||||
'AUTH_VERIFY_SUCCESS',
|
||||
'CLIENT_CONNECTION_STATUS_CHANGE',
|
||||
'CLIENT_ADD_TORRENT_ERROR',
|
||||
'CLIENT_ADD_TORRENT_SUCCESS',
|
||||
'CLIENT_FETCH_TORRENT_TAXONOMY_ERROR',
|
||||
|
||||
Reference in New Issue
Block a user