Merge remote-tracking branch 'origin/develop' into develop

This commit is contained in:
Core 2022-02-15 17:11:11 +00:00
commit b57a544cd8
No known key found for this signature in database
GPG key ID: FE9BF1B547F8F3C6

View file

@ -41,6 +41,21 @@
catch (e){}
},
watch: {
items: function (items) {
// give every item an id
this.items.forEach(function (item, index) {
item.id = index;
});
// split items into pages
this.itemPages = app.arrayToChunk(this.items, 4);
try{
this.simplifiedParent = JSON.stringify(this.items.map ( function(x){return x.attributes.playParams}));
console.log("simplifiedParent: " + this.simplifiedParent);
}
catch (e){}
}
},
methods: {
sayHello: function () {
alert('Hello world!');