diff --git a/src/renderer/components/top-nav/top-nav.js b/src/renderer/components/top-nav/top-nav.js index 99af0aae..6d8921d9 100644 --- a/src/renderer/components/top-nav/top-nav.js +++ b/src/renderer/components/top-nav/top-nav.js @@ -69,7 +69,7 @@ export default Vue.extend({ }, backwardText: function () { - return this.$t('Backward') + return this.$t('Back') }, newWindowText: function () { diff --git a/src/renderer/components/top-nav/top-nav.vue b/src/renderer/components/top-nav/top-nav.vue index 731f2645..854e9f6b 100644 --- a/src/renderer/components/top-nav/top-nav.vue +++ b/src/renderer/components/top-nav/top-nav.vue @@ -18,7 +18,7 @@ icon="arrow-left" role="button" tabindex="0" - :title="forwardText" + :title="backwardText" @click="historyBack" @keypress="historyBack" /> diff --git a/src/renderer/store/modules/utils.js b/src/renderer/store/modules/utils.js index 3482f2b6..5cc78f7b 100644 --- a/src/renderer/store/modules/utils.js +++ b/src/renderer/store/modules/utils.js @@ -971,7 +971,7 @@ const mutations = { }) if (sameSearch !== -1) { - state.sessionSearchHistory[sameSearch].data = state.sessionSearchHistory[sameSearch].data.concat(payload.data) + state.sessionSearchHistory[sameSearch].data = payload.data state.sessionSearchHistory[sameSearch].nextPageRef = payload.nextPageRef } else { state.sessionSearchHistory.push(payload)