mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-08-23 16:13:50 +00:00
refactor to use store for storing events
This commit is contained in:
@@ -24,8 +24,6 @@ function loadDynamicPicker(element) {
|
||||
null : [ JSON.parse(input.value) ]
|
||||
)
|
||||
;
|
||||
console.log('picked at startup', picked);
|
||||
console.log('input', input);
|
||||
|
||||
if (!isMultiple) {
|
||||
if (input.value === '[]'){
|
||||
|
@@ -146,6 +146,9 @@ export default {
|
||||
}
|
||||
},
|
||||
titleCreate() {
|
||||
if (typeof this.allowedTypes === 'undefined') {
|
||||
return 'onthefly.create.title.default';
|
||||
}
|
||||
return this.allowedTypes.every(t => t === 'person')
|
||||
? 'onthefly.create.title.person'
|
||||
: this.allowedTypes.every(t => t === 'thirdparty')
|
||||
|
Reference in New Issue
Block a user