Explorar el Código

inversed history

bach hace 2 años
padre
commit
1ca1469233
Se han modificado 1 ficheros con 1 adiciones y 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