@konfuzio/document-validation-ui 0.1.45 → 0.1.46
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/js/app.js +1 -1
- package/dist/js/app.js.map +1 -1
- package/package.json +1 -1
- package/src/store/category.js +3 -3
package/package.json
CHANGED
package/src/store/category.js
CHANGED
|
@@ -155,9 +155,9 @@ const actions = {
|
|
|
155
155
|
fetchCategories: ({ commit }, projectId) => {
|
|
156
156
|
return myImports
|
|
157
157
|
.makeGetPaginatedRequest(`categories/?project=${projectId}`, true)
|
|
158
|
-
.then(async (
|
|
159
|
-
if (
|
|
160
|
-
commit("SET_CATEGORIES",
|
|
158
|
+
.then(async (results) => {
|
|
159
|
+
if (results) {
|
|
160
|
+
commit("SET_CATEGORIES", results);
|
|
161
161
|
}
|
|
162
162
|
})
|
|
163
163
|
.catch((error) => {
|