@7365admin1/layer-common 4.97.1-staging.680 → 4.97.1-staging.681

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.
@@ -285,6 +285,8 @@ const managedBy = computed(() => (store.value ? inventoryManagedBy(store.value)
285
285
 
286
286
  const subtitle = computed(() => {
287
287
  if (!store.value) return "";
288
+ // The MA reading a provider's store: whose store it is, and that it is view only.
289
+ if (props.ownerService) return managedBy.value ? `${managedBy.value} · View only` : "View only";
288
290
  if (store.value.main && store.value.owner === false) {
289
291
  // "Main store · managed by Management Pte Ltd (Property management)"
290
292
  return managedBy.value ? `Main store · ${managedBy.value.replace(/^Managed/, "managed")}` : "Main store";
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@7365admin1/layer-common",
3
3
  "license": "MIT",
4
4
  "type": "module",
5
- "version": "4.97.1-staging.680",
5
+ "version": "4.97.1-staging.681",
6
6
  "author": "7365admin1",
7
7
  "main": "./nuxt.config.ts",
8
8
  "//files": "What a consumer extending this layer actually loads. Without this npm ships the whole working tree - the changesets, the CI workflows, the render harness in tools/ and any scratch directory that happened to exist at publish time. Nuxt resolves a layer by directory, so every runtime directory below has to stay listed; adding a new top-level runtime directory means adding it here too.",