mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-06-07 18:44:08 +00:00
comment out console logs
This commit is contained in:
parent
f3444b6a58
commit
2b1c3d1aff
@ -50,10 +50,10 @@ export default {
|
|||||||
logged: null
|
logged: null
|
||||||
},
|
},
|
||||||
calendarEvents: {
|
calendarEvents: {
|
||||||
loaded: [],
|
loaded: [],
|
||||||
selected: [],
|
selected: [],
|
||||||
user: [],
|
user: [],
|
||||||
current: {
|
current: {
|
||||||
events: [{
|
events: [{
|
||||||
title: 'plage prévue',
|
title: 'plage prévue',
|
||||||
start: window.startDate,
|
start: window.startDate,
|
||||||
@ -121,7 +121,7 @@ export default {
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
onDateSelect(payload) {
|
onDateSelect(payload) {
|
||||||
console.log(payload)
|
// console.log(payload)
|
||||||
this.unSelectPreviousEvent(this.selectedEvent);
|
this.unSelectPreviousEvent(this.selectedEvent);
|
||||||
Object.assign(payload, {users: this.users});
|
Object.assign(payload, {users: this.users});
|
||||||
Object.assign(payload, {title: 'Choisir cette plage'}); //TODO does not display
|
Object.assign(payload, {title: 'Choisir cette plage'}); //TODO does not display
|
||||||
|
@ -126,18 +126,18 @@ const store = createStore({
|
|||||||
},
|
},
|
||||||
// Calendar
|
// Calendar
|
||||||
setEvents(state, payload) {
|
setEvents(state, payload) {
|
||||||
console.log(payload)
|
// console.log(payload)
|
||||||
state.currentEvent = {start: payload.start, end: payload.end}
|
state.currentEvent = {start: payload.start, end: payload.end}
|
||||||
},
|
},
|
||||||
// Location
|
// Location
|
||||||
updateLocation(state, value) {
|
updateLocation(state, value) {
|
||||||
console.log('### mutation: updateLocation', value);
|
// console.log('### mutation: updateLocation', value);
|
||||||
state.activity.location = value;
|
state.activity.location = value;
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
actions: {
|
actions: {
|
||||||
addPersonsInvolved({ commit }, payload) {
|
addPersonsInvolved({ commit }, payload) {
|
||||||
console.log('### action addPersonsInvolved', payload.result.type);
|
// console.log('### action addPersonsInvolved', payload.result.type);
|
||||||
switch (payload.result.type) {
|
switch (payload.result.type) {
|
||||||
case 'person':
|
case 'person':
|
||||||
let aPersons = document.getElementById("chill_activitybundle_activity_persons");
|
let aPersons = document.getElementById("chill_activitybundle_activity_persons");
|
||||||
|
@ -56,15 +56,15 @@ const store = createStore({
|
|||||||
},
|
},
|
||||||
actions: {
|
actions: {
|
||||||
createRange({ commit }, payload) {
|
createRange({ commit }, payload) {
|
||||||
console.log('### action createRange', payload);
|
// console.log('### action createRange', payload);
|
||||||
commit('addRange', payload);
|
commit('addRange', payload);
|
||||||
},
|
},
|
||||||
updateRange({ commit }, payload) {
|
updateRange({ commit }, payload) {
|
||||||
console.log('### action updateRange', payload);
|
// console.log('### action updateRange', payload);
|
||||||
commit('updateRange', payload);
|
commit('updateRange', payload);
|
||||||
},
|
},
|
||||||
deleteRange({ commit }, payload) {
|
deleteRange({ commit }, payload) {
|
||||||
console.log('### action deleteRange', payload);
|
// console.log('### action deleteRange', payload);
|
||||||
commit('deleteRange', payload);
|
commit('deleteRange', payload);
|
||||||
},
|
},
|
||||||
clearNewCalendarRanges({ commit }, payload) {
|
clearNewCalendarRanges({ commit }, payload) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user