diff --git a/platypush/backend/http/webapp/src/components/panels/Media/Item.vue b/platypush/backend/http/webapp/src/components/panels/Media/Item.vue index 55eade1123..7673efc809 100644 --- a/platypush/backend/http/webapp/src/components/panels/Media/Item.vue +++ b/platypush/backend/http/webapp/src/components/panels/Media/Item.vue @@ -135,7 +135,7 @@ export default { actions() { const actions = [] - if (this.item.type !== 'torrent' && this.item.item_type !== 'photo') { + if (!['book', 'photo', 'torrent'].includes(this.item.item_type)) { actions.push({ iconClass: 'fa fa-play', text: 'Play', diff --git a/platypush/backend/http/webapp/src/components/panels/Media/MediaImage.vue b/platypush/backend/http/webapp/src/components/panels/Media/MediaImage.vue index 9f287b0351..6d8d68a858 100644 --- a/platypush/backend/http/webapp/src/components/panels/Media/MediaImage.vue +++ b/platypush/backend/http/webapp/src/components/panels/Media/MediaImage.vue @@ -1,7 +1,8 @@