@7365admin1/core 3.32.2-staging.29 → 3.32.2-staging.30
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/dist/index.js +5 -2
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +5 -2
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -55353,8 +55353,11 @@ function useNfcPatrolRouteRepo() {
|
|
|
55353
55353
|
const query = {
|
|
55354
55354
|
site
|
|
55355
55355
|
};
|
|
55356
|
-
if (search) {
|
|
55357
|
-
query
|
|
55356
|
+
if (search?.trim()) {
|
|
55357
|
+
query.name = {
|
|
55358
|
+
$regex: search.trim(),
|
|
55359
|
+
$options: "i"
|
|
55360
|
+
};
|
|
55358
55361
|
}
|
|
55359
55362
|
if (filter === "today" || filter === "notToday") {
|
|
55360
55363
|
const singaporeDateString = (/* @__PURE__ */ new Date()).toLocaleString("en-US", {
|