|
@@ -47,7 +47,7 @@ export const mutations = {
|
|
|
}
|
|
}
|
|
|
},
|
|
},
|
|
|
GET_KIND_SUCCESS (state, action) {
|
|
GET_KIND_SUCCESS (state, action) {
|
|
|
- if (action.id === undefined) {
|
|
|
|
|
|
|
+ if (!action.id) {
|
|
|
state.kinds.fetching = false
|
|
state.kinds.fetching = false
|
|
|
action.result.forEach(kind => {
|
|
action.result.forEach(kind => {
|
|
|
kind.fetching = false
|
|
kind.fetching = false
|