aloha-vue 1.2.205 → 1.2.207

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
@@ -14,7 +14,7 @@
14
14
  "Vue.js"
15
15
  ],
16
16
  "homepage": "https://github.com/ilia-brykin/aloha/#README.md",
17
- "version": "1.2.205",
17
+ "version": "1.2.207",
18
18
  "author": {
19
19
  "name": "Ilia Brykin",
20
20
  "email": "brykin.ilia@gmail.com"
@@ -14,6 +14,7 @@ import {
14
14
  cloneDeep,
15
15
  forEach,
16
16
  isNil,
17
+ isUndefined,
17
18
  } from "lodash-es";
18
19
 
19
20
  export default function ScrollControlAPI(props, { emit }, {
@@ -175,7 +176,7 @@ export default function ScrollControlAPI(props, { emit }, {
175
176
 
176
177
  const resizeOb = new ResizeObserver(entries => {
177
178
  // since we are observing only a single element, so we access the first element in entries array
178
- if (!tableWidth.value) {
179
+ if (isUndefined(tableWidth.value)) {
179
180
  adjustTableWidth({ entries, forceAdjust: true });
180
181
  } else {
181
182
  clearTimeout(resizeTimeout.value);
@@ -921,7 +921,7 @@ export default {
921
921
  })
922
922
  ]),
923
923
  ]),
924
- (!this.dataSort.length || this.hasNotElementsWithSearch) ?
924
+ ((!this.dataSort.length && !this.hasDataExtra) || this.hasNotElementsWithSearch) ?
925
925
  h(ATranslation, {
926
926
  class: "a_form__not_elements",
927
927
  text: "_A_SELECT_HAS_NOT_ELEMENTS_WITH_SEARCH_",