Commit fce7d2ee authored by Joel Collins's avatar Joel Collins
Browse files

Added v2 baseUri getter

parent fa010157
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -193,6 +193,8 @@ export default new Vuex.Store({

  getters: {
    uri: state => `http://${state.host}:${state.port}/api/${state.apiVer}`,
    uriV2: state => `http://${state.host}:${state.port}/api/v2`,
    baseUri: state => `http://${state.host}:${state.port}`,
    ready: state =>
      state.available &&
      Object.keys(state.apiConfig).length !== 0 &&