Browse Source

Merge branch 'release/0.9.8-2'

Book Pauk 4 years ago
parent
commit
4cf5a0f4c8
1 changed files with 5 additions and 1 deletions
  1. 5 1
      client/components/Reader/SettingsPage/UserHotKeys/UserHotKeys.vue

+ 5 - 1
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) => {