Commit 8ba887d8 authored by Mathias Goebel's avatar Mathias Goebel 🎠
Browse files

feat: getter for multiple html content serializations

parent 8a6239c5
......@@ -252,7 +252,7 @@ export default {
*
* @return array
*/
getContentUrl(content) {
getContentUrls(content) {
const urls = [];
if (Array.isArray(content) && content.length) {
......@@ -279,8 +279,12 @@ export default {
.then((data) => {
this.item = data;
this.contenturls = this.getContentUrl(data.content);
this.contenturls = this.getContentUrls(data.content);
this.imageurl = data.image.id || '';
if (data.annotationCollection) {
this.getAnnotations(data.annotationCollection);
}
});
},
/**
......
Markdown is supported
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