Fixes cases where undefined settings of hide thumbnail on list where hiding them on table view mode in the admin side. #410
This commit is contained in:
parent
635784b672
commit
452bc53882
|
@ -990,7 +990,7 @@
|
||||||
|
|
||||||
let thumbnailMetadatumDisplay = this.collection.hide_items_thumbnail_on_lists == 'yes' ? null : (prefsFetchOnlyObject ? (prefsFetchOnlyObject[0] != null) : true);
|
let thumbnailMetadatumDisplay = this.collection.hide_items_thumbnail_on_lists == 'yes' ? null : (prefsFetchOnlyObject ? (prefsFetchOnlyObject[0] != null) : true);
|
||||||
|
|
||||||
if (!this.collection.hide_items_thumbnail_on_lists == 'yes') {
|
if (this.collection.hide_items_thumbnail_on_lists != 'yes') {
|
||||||
metadata.push({
|
metadata.push({
|
||||||
name: this.$i18n.get('label_thumbnail'),
|
name: this.$i18n.get('label_thumbnail'),
|
||||||
metadatum: 'row_thumbnail',
|
metadatum: 'row_thumbnail',
|
||||||
|
|
Loading…
Reference in New Issue