Require available for ready
This commit is contained in:
parent
6b8a2924a5
commit
8ae46c97b0
1 changed files with 1 additions and 1 deletions
|
|
@ -194,7 +194,7 @@ export default new Vuex.Store({
|
||||||
|
|
||||||
getters: {
|
getters: {
|
||||||
uri: state => `http://${state.host}:${state.port}/api/${state.apiVer}`,
|
uri: state => `http://${state.host}:${state.port}/api/${state.apiVer}`,
|
||||||
ready: state => ((Object.keys(state.apiConfig).length !== 0) && (Object.keys(state.apiState).length !== 0))
|
ready: state => ((state.available) && (Object.keys(state.apiConfig).length !== 0) && (Object.keys(state.apiState).length !== 0))
|
||||||
}
|
}
|
||||||
|
|
||||||
})
|
})
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue