|
|
@@ -49,8 +49,7 @@ export const mutations = {
|
|
|
GET_KIND_SUCCESS (state, action) {
|
|
|
if (!action.id) {
|
|
|
state.kinds.fetching = false
|
|
|
- let list = action.result || []
|
|
|
- list.forEach(kind => {
|
|
|
+ action.result.forEach(kind => {
|
|
|
kind.fetching = false
|
|
|
})
|
|
|
state.kinds.data = action.result
|