Скрыл хоткей для "Библиотека" в режиме omnireader

This commit is contained in:
Book Pauk
2020-11-14 12:00:55 +07:00
parent 6ca3881841
commit 8f0d526af2

View File

@@ -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) => {