mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-08-21 07:03:49 +00:00
now i have to find id+method from payload
This commit is contained in:
@@ -56,7 +56,13 @@ export default {
|
||||
},
|
||||
updateSocialIssues(value) {
|
||||
console.log('@@@ CHANGE value', value);
|
||||
this.$store.dispatch('updateSocialIssues', value);
|
||||
this.$store.dispatch('updateSocialIssues', this.transformValue(value));
|
||||
},
|
||||
transformValue(value) {
|
||||
let payload = value;
|
||||
let body = {}; //{ type: "social_issue", id: 5 };
|
||||
let method = ''; //'POST' : 'DELETE';
|
||||
return { payload, body, method };
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user