@opengis/admin 0.2.42 → 0.2.43

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@opengis/admin",
3
- "version": "0.2.42",
3
+ "version": "0.2.43",
4
4
  "description": "This project Softpro Admin",
5
5
  "main": "dist/admin.js",
6
6
  "type": "module",
@@ -15,7 +15,7 @@ export default async function descriptionList(data, opt) {
15
15
  const { hash } = opt;
16
16
 
17
17
  // no data
18
- if (hash.nodata && !data?.length) {
18
+ if (hash.nodata && !data) {
19
19
  const noDataText = typeof hash.nodata == 'string' ? hash.nodata : '<div class="bg-gray-200 text-center p-6 rounded-xl"><h3 class="text-lg font-semibold">Інформація відсутня</h3></div>';
20
20
  return noDataText
21
21
  }