@7365admin1/layer-common 4.97.1-staging.673 → 4.97.1-staging.674

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.
@@ -347,6 +347,11 @@
347
347
  <button class="dd-item" @click="viewClient(activeMenuItem)">
348
348
  View Organization
349
349
  </button>
350
+ <!-- Owner 12 Nov 2026: Super Admin can move a client to another nature.
351
+ The change is made (and previewed) on the client's details page. -->
352
+ <button class="dd-item" data-test="client-change-nature" @click="changeNature(activeMenuItem)">
353
+ Change nature
354
+ </button>
350
355
  <button class="dd-item" @click="openSubscription(activeMenuItem)">
351
356
  {{ activeMenuItem?.sub?.state === 'none' ? 'Set up subscription' : 'Edit subscription' }}
352
357
  </button>
@@ -674,6 +679,11 @@ function viewClient(item: any) {
674
679
  closeMenu()
675
680
  }
676
681
 
682
+ function changeNature(item: any) {
683
+ closeMenu()
684
+ if (item?._id) navigateTo({ path: '/super-admin/client-details', query: { org: String(item._id), changeNature: '1' } })
685
+ }
686
+
677
687
  function cancelView() {
678
688
  selectedClient.value = null
679
689
  viewMode.value = 'table'
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.673",
5
+ "version": "4.97.1-staging.674",
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.",