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:
mateuswetah 2020-09-02 10:20:10 -03:00
parent 635784b672
commit 452bc53882
1 changed files with 1 additions and 1 deletions

View File

@ -990,7 +990,7 @@
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({
name: this.$i18n.get('label_thumbnail'),
metadatum: 'row_thumbnail',