Skip to content

Commit

Permalink
Fix language switch - tRes should be tResp
Browse files Browse the repository at this point in the history
  • Loading branch information
jolzee committed Apr 2, 2020
1 parent 460dffc commit c53f6fd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/store.js
Original file line number Diff line number Diff line change
Expand Up @@ -2344,8 +2344,8 @@ function storeSetup(vuetify) {

if (tResp.hasParameter("langengineurl") && tResp.hasParameter("langinput")) {
context.dispatch("endSessionLite");
context.commit("UPDATE_TENEO_URL", tRes.getParameter("langengineurl"));
context.commit("SET_USER_INPUT", tRes.getParameter("langinput"));
context.commit("UPDATE_TENEO_URL", tResp.getParameter("langengineurl"));
context.commit("SET_USER_INPUT", tResp.getParameter("langinput"));
context.commit("SHOW_PROGRESS_BAR");

if (tResp.hasParameter("lang")) {
Expand Down

0 comments on commit c53f6fd

Please sign in to comment.