Commit bc958233 authored by Jean Rabreau's avatar Jean Rabreau
Browse files

馃拕use embed thumbnails in public views

parent 43a6020c
...@@ -339,7 +339,7 @@ export default { ...@@ -339,7 +339,7 @@ export default {
title: this.textTruncate(project.name, 50), title: this.textTruncate(project.name, 50),
subtitle: `${this.$t('project.subtitles.managers', { managers, label: this.$tc('project.managers', project.managers.length) })}`, subtitle: `${this.$t('project.subtitles.managers', { managers, label: this.$tc('project.managers', project.managers.length) })}`,
description: this.textTruncate(this.stripHtml(project.description), 150), description: this.textTruncate(this.stripHtml(project.description), 150),
thumbnail: project.thumbnails.m, thumbnail: project.thumbnails.embed,
to: { name: 'projectPublic', params: { projectId: project.id } }, to: { name: 'projectPublic', params: { projectId: project.id } },
} }
}); });
......
...@@ -85,7 +85,7 @@ export default { ...@@ -85,7 +85,7 @@ export default {
id: set.id, id: set.id,
title: this.textTruncate(set.title, 50), title: this.textTruncate(set.title, 50),
description: this.textTruncate(this.stripHtml(set.description), 150), description: this.textTruncate(this.stripHtml(set.description), 150),
thumbnail: set.thumbnails.m, thumbnail: set.thumbnails.embed,
to: { name: 'setPublic', params: { setId: set.id } }, to: { name: 'setPublic', params: { setId: set.id } },
})); }));
}, },
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment