awing-library 2.1.91-beta → 2.1.93-beta

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.
@@ -131,6 +131,14 @@ export type CampaignAd = {
131
131
  name: string;
132
132
  domainId: string;
133
133
  }[];
134
+ /**
135
+ * Danh sách địa điểm Đã xoá theo điều kiện lọc (thông tin dùng cho việc hiển thị)
136
+ */
137
+ deletedPlaces?: {
138
+ placeId: string;
139
+ name: string;
140
+ domainId: string;
141
+ }[];
134
142
  /**
135
143
  * Đánh dấu quảng cáo không được xoá
136
144
  */
@@ -26,7 +26,7 @@ var UserComponent = function (_a) {
26
26
  setTrigger(false);
27
27
  }
28
28
  // eslint-disable-next-line react-hooks/exhaustive-deps
29
- }, []);
29
+ }, [rows]);
30
30
  var handleDelete = function (id) {
31
31
  startTransition(function () {
32
32
  setTrigger(true);
@@ -19,7 +19,7 @@ function Container() {
19
19
  var navigate = (0, Router_1.useNavigate)();
20
20
  var t = (0, react_i18next_1.useTranslation)().t;
21
21
  var _a = (0, Hooks_1.default)(), service = _a.service, confirm = _a.appHelper.confirm;
22
- var _b = (0, react_1.useState)(false), loading = _b[0], setLoading = _b[1];
22
+ var _b = (0, react_1.useState)(true), loading = _b[0], setLoading = _b[1];
23
23
  var _c = (0, react_1.useState)(), PagedList = _c[0], setPagedList = _c[1];
24
24
  var queryData = (0, react_1.useCallback)(function (queryInput) {
25
25
  var searchString = queryInput.searchString, pageIndex = queryInput.pageIndex, pageSize = queryInput.pageSize;
@@ -33,7 +33,7 @@ function Container() {
33
33
  var t = (0, react_i18next_1.useTranslation)().t;
34
34
  var service = (0, Hooks_1.default)().service;
35
35
  var transactionType = (0, Context_1.useAwing)().transactionType;
36
- var _a = (0, react_1.useState)(false), loading = _a[0], setLoading = _a[1];
36
+ var _a = (0, react_1.useState)(true), loading = _a[0], setLoading = _a[1];
37
37
  var _b = (0, react_1.useState)(), transactionLog = _b[0], setTransactionLog = _b[1];
38
38
  var _c = (0, react_1.useState)(), users = _c[0], setUsers = _c[1];
39
39
  (0, react_1.useEffect)(function () {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "awing-library",
3
- "version": "2.1.91-beta",
3
+ "version": "2.1.93-beta",
4
4
  "description": "",
5
5
  "main": "lib/index.js",
6
6
  "types": "lib/index.d.ts",