@7365admin1/core 3.77.1-staging.331 → 3.77.1-staging.332

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 CHANGED
@@ -8515,14 +8515,10 @@ function useCustomerSiteRepo() {
8515
8515
  }
8516
8516
  },
8517
8517
  { $unwind: { path: "$_liveSite", preserveNullAndEmptyArrays: true } },
8518
- {
8519
- $set: {
8520
- name: { $ifNull: ["$_liveSite.name", "$name"] },
8521
- // The site's own timezone, so the Edit Site form opens on the zone
8522
- // the site really has. Lives only on the site, never on this row.
8523
- timezone: "$_liveSite.timezone"
8524
- }
8525
- },
8518
+ { $set: { name: { $ifNull: ["$_liveSite.name", "$name"] } } },
8519
+ // The site's own timezone, so the Edit Site form opens on the zone the
8520
+ // site really has. Lives only on the site, never on this row.
8521
+ { $set: { timezone: "$_liveSite.timezone" } },
8526
8522
  { $unset: "_liveSite" },
8527
8523
  ...search ? [{ $match: { name: { $regex: search, $options: "i" } } }] : [],
8528
8524
  { $sort: sort }