@kmkf-fe-packages/kmkf-utils 1.1.1 → 1.1.2

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.
@@ -8,6 +8,7 @@ export declare const queryWdtWarehouseList: (pageNo: number, pageSize: number) =
8
8
  warehouses: {
9
9
  warehouseNo: string;
10
10
  name: string;
11
+ is_disabled: boolean;
11
12
  }[];
12
13
  totalCount?: number | undefined;
13
14
  }>>;
@@ -13,11 +13,14 @@ var getWarehouseDataAsync = function getWarehouseDataAsync() {
13
13
  var warehouses = (data === null || data === void 0 ? void 0 : data.warehouses) || [];
14
14
  warehouses.map(function (_ref) {
15
15
  var warehouseNo = _ref.warehouseNo,
16
- name = _ref.name;
17
- list.push({
18
- label: name,
19
- value: warehouseNo
20
- });
16
+ name = _ref.name,
17
+ is_disabled = _ref.is_disabled;
18
+ if (!is_disabled) {
19
+ list.push({
20
+ label: name,
21
+ value: warehouseNo
22
+ });
23
+ }
21
24
  });
22
25
  pageNo++;
23
26
  if (pageSize === warehouses.length) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kmkf-fe-packages/kmkf-utils",
3
- "version": "1.1.1",
3
+ "version": "1.1.2",
4
4
  "module": "dist/esm/index.js",
5
5
  "typings": "dist/esm/index.d.ts",
6
6
  "files": [
@@ -40,7 +40,7 @@
40
40
  "publishConfig": {
41
41
  "access": "public"
42
42
  },
43
- "gitHead": "6b83a90a6799241bb31250f7e1e974a7f3597672",
43
+ "gitHead": "4561254272f4a9cc7e4adc47be66e2e8c77a49c7",
44
44
  "gitHooks": {
45
45
  "pre-commit": "lint-staged"
46
46
  }