From 8f0d526af2cdd47ce4cef9199d680de2bfdaa6a8 Mon Sep 17 00:00:00 2001 From: Book Pauk Date: Sat, 14 Nov 2020 12:00:55 +0700 Subject: [PATCH] =?UTF-8?q?=D0=A1=D0=BA=D1=80=D1=8B=D0=BB=20=D1=85=D0=BE?= =?UTF-8?q?=D1=82=D0=BA=D0=B5=D0=B9=20=D0=B4=D0=BB=D1=8F=20"=D0=91=D0=B8?= =?UTF-8?q?=D0=B1=D0=BB=D0=B8=D0=BE=D1=82=D0=B5=D0=BA=D0=B0"=20=D0=B2=20?= =?UTF-8?q?=D1=80=D0=B5=D0=B6=D0=B8=D0=BC=D0=B5=20omnireader?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Reader/SettingsPage/UserHotKeys/UserHotKeys.vue | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/client/components/Reader/SettingsPage/UserHotKeys/UserHotKeys.vue b/client/components/Reader/SettingsPage/UserHotKeys/UserHotKeys.vue index c4a4775f..5d314dd0 100644 --- a/client/components/Reader/SettingsPage/UserHotKeys/UserHotKeys.vue +++ b/client/components/Reader/SettingsPage/UserHotKeys/UserHotKeys.vue @@ -104,8 +104,12 @@ class UserHotKeys extends UserHotKeysProps { this.updateTableData(); } + get mode() { + return this.$store.state.config.mode; + } + updateTableData() { - let result = rstore.hotKeys.map(hk => hk.name); + let result = rstore.hotKeys.map(hk => hk.name).filter(name => (this.mode == 'liberama.top' || name != 'libs')); const search = this.search.toLowerCase(); const codesIncludeSearch = (action) => {