Мелкие поправки
This commit is contained in:
@@ -41,6 +41,8 @@ class TextPage extends Vue {
|
|||||||
fontSize = null;
|
fontSize = null;
|
||||||
fontName = null;
|
fontName = null;
|
||||||
|
|
||||||
|
//meta = null;
|
||||||
|
|
||||||
created() {
|
created() {
|
||||||
this.drawHelper = new DrawHelper();
|
this.drawHelper = new DrawHelper();
|
||||||
|
|
||||||
@@ -182,13 +184,15 @@ class TextPage extends Vue {
|
|||||||
this.meta = bookManager.metaOnly(this.book);
|
this.meta = bookManager.metaOnly(this.book);
|
||||||
this.fb2 = this.meta.fb2;
|
this.fb2 = this.meta.fb2;
|
||||||
|
|
||||||
this.title = _.compact([
|
const authorName = _.compact([
|
||||||
this.fb2.lastName,
|
this.fb2.lastName,
|
||||||
this.fb2.middleName,
|
|
||||||
this.fb2.firstName,
|
this.fb2.firstName,
|
||||||
'-',
|
this.fb2.middleName
|
||||||
this.fb2.bookTitle
|
|
||||||
]).join(' ');
|
]).join(' ');
|
||||||
|
this.title = _.compact([
|
||||||
|
authorName,
|
||||||
|
this.fb2.bookTitle
|
||||||
|
]).join(' - ');
|
||||||
|
|
||||||
this.$root.$emit('set-app-title', this.title);
|
this.$root.$emit('set-app-title', this.title);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user