Мелкие поправки
This commit is contained in:
@@ -123,8 +123,8 @@ class Reader extends Vue {
|
||||
result = 'TextPage';
|
||||
|
||||
if (!result) {
|
||||
//this.commit('reader/setLoaderActive', true);
|
||||
//result = 'LoaderPage';
|
||||
this.commit('reader/setLoaderActive', true);
|
||||
result = 'LoaderPage';
|
||||
}
|
||||
|
||||
if (result != 'TextPage') {
|
||||
|
||||
@@ -19,6 +19,8 @@ export default @Component({
|
||||
})
|
||||
class TextPage extends Vue {
|
||||
meta = null;
|
||||
fb2 = null;
|
||||
|
||||
items = null;
|
||||
|
||||
created() {
|
||||
@@ -42,13 +44,13 @@ class TextPage extends Vue {
|
||||
}
|
||||
this.book = await bookManager.getBook(last);
|
||||
this.meta = bookManager.metaOnly(this.book);
|
||||
const fb2 = this.meta.fb2;
|
||||
this.fb2 = this.meta.fb2;
|
||||
this.$root.$emit('set-app-title', _.compact([
|
||||
fb2.lastName,
|
||||
fb2.middleName,
|
||||
fb2.firstName,
|
||||
this.fb2.lastName,
|
||||
this.fb2.middleName,
|
||||
this.fb2.firstName,
|
||||
'-',
|
||||
fb2.bookTitle
|
||||
this.fb2.bookTitle
|
||||
]).join(' '));
|
||||
//
|
||||
let lines = [];
|
||||
|
||||
Reference in New Issue
Block a user