Update Collections, add custom limit

This commit is contained in:
Daniel Supernault 2020-12-10 01:02:56 -07:00
parent 2f7d369ec8
commit 048642bead
No known key found for this signature in database
GPG key ID: 0DEF1C662C9033F7
6 changed files with 13 additions and 7 deletions

View file

@ -161,6 +161,7 @@ export default {
data() {
return {
config: window.App.config,
loaded: false,
posts: [],
ids: [],
@ -243,7 +244,7 @@ export default {
},
pushId() {
let max = 18;
let max = this.config.uploader.max_collection_length;
let addingPostToCollection = true;
let self = this;
if(this.posts.length >= max) {