From 86cceb8d2e04f960132938c7198c0ae9be0629ba Mon Sep 17 00:00:00 2001 From: mateuswetah Date: Thu, 19 Nov 2020 10:30:59 -0300 Subject: [PATCH] Adds data-tainacan-item-id attribute to all items on theme view modes. --- src/views/theme-search/components/view-mode-cards.vue | 1 + src/views/theme-search/components/view-mode-list.vue | 1 + src/views/theme-search/components/view-mode-masonry.vue | 1 + src/views/theme-search/components/view-mode-records.vue | 1 + src/views/theme-search/components/view-mode-slideshow.vue | 2 +- src/views/theme-search/components/view-mode-table.vue | 1 + 6 files changed, 6 insertions(+), 1 deletion(-) diff --git a/src/views/theme-search/components/view-mode-cards.vue b/src/views/theme-search/components/view-mode-cards.vue index d438674a1..9cce7805e 100644 --- a/src/views/theme-search/components/view-mode-cards.vue +++ b/src/views/theme-search/components/view-mode-cards.vue @@ -35,6 +35,7 @@ diff --git a/src/views/theme-search/components/view-mode-list.vue b/src/views/theme-search/components/view-mode-list.vue index 5840b81ca..6754502b8 100644 --- a/src/views/theme-search/components/view-mode-list.vue +++ b/src/views/theme-search/components/view-mode-list.vue @@ -34,6 +34,7 @@ class="tainacan-list-container"> + return `
` + (slideItem['thumbnail_alt'] ? slideItem['thumbnail_alt'] : (self.$i18n.get('label_thumbnail') + ': ' + slideItem.title) ) + `