adding an API GET Location endpoint, fetch locations and list them in vue multiselect

This commit is contained in:
2021-10-13 14:22:53 +02:00
parent 342c462ed7
commit 48f3c440a2
5 changed files with 91 additions and 7 deletions

View File

@@ -114,6 +114,10 @@ const store = createStore({
state.activity.users = state.activity.users.filter(user => user !== payload);
break;
};
},
updateLocation(state, value) {
console.log('### mutation: updateLocation', value);
state.activity.location = value;
}
},
actions: {