@7365admin1/layer-common 4.97.1-staging.700 → 4.97.1-staging.702
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.
|
@@ -4070,8 +4070,8 @@ function getServiceDisplayName(value: string) {
|
|
|
4070
4070
|
const normalized = value.toLowerCase();
|
|
4071
4071
|
const titleMap: Record<string, string> = {
|
|
4072
4072
|
security_agency: "Security",
|
|
4073
|
-
cleaning_services: "
|
|
4074
|
-
hygiene: "
|
|
4073
|
+
cleaning_services: "Cleaning",
|
|
4074
|
+
hygiene: "Cleaning",
|
|
4075
4075
|
mechanical_electrical: "Mechanical & Electrical",
|
|
4076
4076
|
mechanical_electrical_services: "Mechanical & Electrical",
|
|
4077
4077
|
pest_control_services: "Pest Control",
|
|
@@ -34,7 +34,12 @@
|
|
|
34
34
|
</v-row>
|
|
35
35
|
</v-col>
|
|
36
36
|
|
|
37
|
-
|
|
37
|
+
<!--
|
|
38
|
+
Read-only: a role made inside a site belongs to that site. With no
|
|
39
|
+
site (organisation-level roles) there is nothing to show, so say
|
|
40
|
+
where per-site roles are made instead of an empty locked box.
|
|
41
|
+
-->
|
|
42
|
+
<v-col v-if="props.siteState && props.siteId" cols="12" class="mt-2">
|
|
38
43
|
<v-row no-gutters>
|
|
39
44
|
<InputLabel title="Site" />
|
|
40
45
|
<v-col cols="12">
|
|
@@ -48,6 +53,12 @@
|
|
|
48
53
|
</v-col>
|
|
49
54
|
</v-row>
|
|
50
55
|
</v-col>
|
|
56
|
+
<v-col v-else-if="props.siteState" cols="12" class="mt-2">
|
|
57
|
+
<p class="text-body-2 text-medium-emphasis mb-0" data-test="role-form-no-site-hint">
|
|
58
|
+
This role is for the whole organisation. To make a role for one site, open
|
|
59
|
+
Sites, choose the site, then Roles & Permissions.
|
|
60
|
+
</p>
|
|
61
|
+
</v-col>
|
|
51
62
|
|
|
52
63
|
<v-col cols="12" class="mt-2">
|
|
53
64
|
<AppButton
|
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.
|
|
5
|
+
"version": "4.97.1-staging.702",
|
|
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.",
|
package/utils/entrypass-apps.ts
CHANGED
|
@@ -41,7 +41,7 @@ export const ENTRYPASS_APPS: readonly {
|
|
|
41
41
|
}[] = Object.freeze([
|
|
42
42
|
{ value: "ma", label: "MA App", group: "Management" },
|
|
43
43
|
{ value: "mechanical_electrical_services", label: "M&E", group: "Service Providers" },
|
|
44
|
-
{ value: "cleaning_services", label: "
|
|
44
|
+
{ value: "cleaning_services", label: "Cleaning", group: "Service Providers" },
|
|
45
45
|
{ value: "pool_maintenance_services", label: "Pool Maintenance", group: "Service Providers" },
|
|
46
46
|
{ value: "pest_control_services", label: "Pest Control", group: "Service Providers" },
|
|
47
47
|
{ value: "landscaping_services", label: "Landscape", group: "Service Providers" },
|