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