|
@@ -320,15 +320,6 @@ class Reader extends Vue {
|
|
});
|
|
});
|
|
|
|
|
|
this.loadSettings();
|
|
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() {
|
|
mounted() {
|