Finished removing some of the last bits of client side config
Этот коммит содержится в:
@@ -582,28 +582,4 @@ export function getMyTeam() {
|
||||
dispatchError(err, 'getMyTeam');
|
||||
}
|
||||
);
|
||||
}
|
||||
|
||||
export function getConfig() {
|
||||
if (isCallInProgress('getConfig')) {
|
||||
return;
|
||||
}
|
||||
|
||||
callTracker.getConfig = utils.getTimestamp();
|
||||
client.getConfig(
|
||||
function getConfigSuccess(data, textStatus, xhr) {
|
||||
callTracker.getConfig = 0;
|
||||
|
||||
if (data && xhr.status !== 304) {
|
||||
AppDispatcher.handleServerAction({
|
||||
type: ActionTypes.RECIEVED_CONFIG,
|
||||
settings: data
|
||||
});
|
||||
}
|
||||
},
|
||||
function getConfigFailure(err) {
|
||||
callTracker.getConfig = 0;
|
||||
dispatchError(err, 'getConfig');
|
||||
}
|
||||
);
|
||||
}
|
||||
}
|
||||
Ссылка в новой задаче
Block a user