tsv2-library 1.1.0-dev-alpha.13 → 1.1.0-dev-alpha.14

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.
@@ -18,6 +18,7 @@ export type GetAvailableAssetsQueryParams = DataTableParams & DialogSelectAssetF
18
18
  mode?: string;
19
19
  asset?: string;
20
20
  maintenanceAuditStatus?: string[];
21
+ _id?: string;
21
22
  };
22
23
  export type GetAssetDetailParams = DataTableParams & {
23
24
  tag?: string;
@@ -73391,7 +73391,7 @@ const _sfc_main$n = /* @__PURE__ */ defineComponent({
73391
73391
  try {
73392
73392
  setLoading(true);
73393
73393
  const assets = sessionStorage.getItem("assetsDisposalReport") ?? "[]";
73394
- const { data: data30 } = await AssetsServices.getAssetsById(assets, {});
73394
+ const { data: data30 } = await AssetsServices.getAvailableAssets({ _id: assets });
73395
73395
  data30.data.data.forEach((d) => {
73396
73396
  assetNotes.value.set(d._id ?? "", null);
73397
73397
  });