From a8935e6ee013d04e2d286dc388b2f739fde42291 Mon Sep 17 00:00:00 2001 From: zombieFox Date: Sat, 28 Aug 2021 13:52:21 +0100 Subject: [PATCH] improve update --- src/component/state/index.js | 2 +- src/component/update/index.js | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/src/component/state/index.js b/src/component/state/index.js index e5fc79a1..8d7b73d8 100644 --- a/src/component/state/index.js +++ b/src/component/state/index.js @@ -71,8 +71,8 @@ state.default = { }, group: { area: { justify: 'left' }, - name: { size: 100 }, order: 'header-body', + name: { size: 100 }, openAll: { size: 100 }, edit: false, add: false diff --git a/src/component/update/index.js b/src/component/update/index.js index b5ac6b40..e31452da 100644 --- a/src/component/update/index.js +++ b/src/component/update/index.js @@ -444,6 +444,10 @@ update.mod['7.0.0'] = function(data) { delete data.state.group.border; + delete data.state.group.name.show; + + delete data.state.group.openAll.show; + data.state.bookmark = data.state.link; data.state.bookmark.url = data.state.link.item.url; data.state.bookmark.line = data.state.link.item.line;