Explorar o código

inversed history

bach %!s(int64=2) %!d(string=hai) anos
pai
achega
1ca1469233
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      src/store/modules/history.js

+ 1 - 1
src/store/modules/history.js

@@ -16,7 +16,7 @@ export default {
   // mutations
   mutations: {
     addItem (state, item) {
-      state.items.push(item)
+      state.items.unshift(item)
     },
     setOpened (state, opened) {
       state.opened = opened