Удален устаревший код

This commit is contained in:
Book Pauk
2019-11-27 17:33:30 +07:00
parent eebf17c42c
commit 7ee23ec38f
4 changed files with 1 additions and 14 deletions

View File

@@ -320,15 +320,6 @@ class Reader extends Vue {
});
this.loadSettings();
//TODO: убрать в будущем
if (this.showToolButton['history']) {
const newShowToolButton = Object.assign({}, this.showToolButton);
newShowToolButton['recentBooks'] = true;
delete newShowToolButton['history'];
const newSettings = Object.assign({}, this.settings, { showToolButton: newShowToolButton });
this.commit('reader/setSettings', newSettings);
}
}
mounted() {