update interface
This commit is contained in:
parent
06ba2d172b
commit
2bcf2ef495
|
@ -5,8 +5,8 @@ import { SERVER } from './actionsTypes';
|
||||||
interface ISelectServer extends Action {
|
interface ISelectServer extends Action {
|
||||||
server: string;
|
server: string;
|
||||||
version?: string;
|
version?: string;
|
||||||
fetchVersion?: boolean;
|
fetchVersion: boolean;
|
||||||
changeServer?: boolean;
|
changeServer: boolean;
|
||||||
}
|
}
|
||||||
|
|
||||||
interface ISelectServerSuccess extends Action {
|
interface ISelectServerSuccess extends Action {
|
||||||
|
|
|
@ -46,7 +46,7 @@ export default function server(state = initialState, action: TApplicationActions
|
||||||
connecting: true,
|
connecting: true,
|
||||||
connected: false,
|
connected: false,
|
||||||
loading: true,
|
loading: true,
|
||||||
changingServer: action.changeServer!
|
changingServer: action.changeServer
|
||||||
};
|
};
|
||||||
case SERVER.SELECT_SUCCESS:
|
case SERVER.SELECT_SUCCESS:
|
||||||
return {
|
return {
|
||||||
|
|
Loading…
Reference in New Issue