Мелкие поправки

This commit is contained in:
Book Pauk
2019-01-15 01:29:02 +07:00
parent 4cdb258703
commit e0ed369df2
2 changed files with 10 additions and 8 deletions

View File

@@ -19,6 +19,8 @@ export default @Component({
})
class TextPage extends Vue {
meta = null;
fb2 = null;
items = null;
created() {
@@ -42,14 +44,14 @@ 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
]).join(' '));
this.fb2.bookTitle
]).join(' '));
//
let lines = [];
let para = this.book.parsed.para;