Update Collections, add custom limit
This commit is contained in:
parent
2f7d369ec8
commit
048642bead
6 changed files with 13 additions and 7 deletions
|
@ -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) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue