@knovator/pagecreator-admin 1.7.5 → 1.7.6
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/index.cjs +1 -1
- package/index.js +1 -1
- package/package.json +1 -1
package/index.cjs
CHANGED
|
@@ -7298,7 +7298,7 @@ const WidgetForm = ({
|
|
|
7298
7298
|
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
7299
7299
|
const categories = response.data.docs.map(cat => ({
|
|
7300
7300
|
value: cat._id || cat.id,
|
|
7301
|
-
label: cat.name || cat.nm || cat.label,
|
|
7301
|
+
label: cat.title || cat.name || cat.nm || cat.label,
|
|
7302
7302
|
slug: cat.slug
|
|
7303
7303
|
}));
|
|
7304
7304
|
setBlogCategories(categories);
|
package/index.js
CHANGED
|
@@ -7286,7 +7286,7 @@ const WidgetForm = ({
|
|
|
7286
7286
|
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
7287
7287
|
const categories = response.data.docs.map(cat => ({
|
|
7288
7288
|
value: cat._id || cat.id,
|
|
7289
|
-
label: cat.name || cat.nm || cat.label,
|
|
7289
|
+
label: cat.title || cat.name || cat.nm || cat.label,
|
|
7290
7290
|
slug: cat.slug
|
|
7291
7291
|
}));
|
|
7292
7292
|
setBlogCategories(categories);
|