Add:Server option to use square cover images #210

This commit is contained in:
advplyr 2021-12-02 15:49:03 -06:00
parent 0d6f83e9d9
commit 9a6ba3d0de
18 changed files with 208 additions and 122 deletions

View file

@ -47,13 +47,17 @@ export default {
var ComponentClass = this.getComponentClass()
var props = {
index,
width: this.entityWidth,
height: this.entityHeight,
bookCoverAspectRatio: this.bookCoverAspectRatio
}
if (this.entityName === 'series-books') props.showVolumeNumber = true
var _this = this
var instance = new ComponentClass({
propsData: {
index: index,
width: this.entityWidth,
showVolumeNumber: this.entityName === 'series-books'
},
propsData: props,
created() {
this.$on('edit', (entity) => {
if (_this.editEntity) _this.editEntity(entity)