referrer component

This commit is contained in:
2021-05-21 22:59:06 +02:00
parent b403569b16
commit d08f2e0e11
4 changed files with 71 additions and 5 deletions

View File

@@ -47,9 +47,9 @@ export default {
},
methods: {
getOptions() {
getSocialIssues().then(elements => new Promise((resolve, reject) => {
console.log('get socialIssues', elements.results);
this.options = elements.results;
getSocialIssues().then(response => new Promise((resolve, reject) => {
console.log('get socialIssues', response.results);
this.options = response.results;
resolve();
})).catch(error => this.$store.commit('catchError', error));
},