From 1ca1469233aec9318fcc20f72084039d68e03eb5 Mon Sep 17 00:00:00 2001 From: bach Date: Thu, 10 Mar 2022 15:48:48 +0100 Subject: [PATCH] inversed history --- src/store/modules/history.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/store/modules/history.js b/src/store/modules/history.js index 095ae60..67cc934 100644 --- a/src/store/modules/history.js +++ b/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