diff --git a/client-app/core/composables/index.ts b/client-app/core/composables/index.ts index 6112ee2ca..9e7cb75ed 100644 --- a/client-app/core/composables/index.ts +++ b/client-app/core/composables/index.ts @@ -14,3 +14,4 @@ export { default as usePageHead } from "./usePageHead"; export { default as useProductsRoutes } from "./useProductsRoutes"; export { default as useRouteQueryParam } from "./useRouteQueryParam"; export { default as useThemeContext } from "./useThemeContext"; +export { default as useComponentId } from "./useComponentId"; diff --git a/client-app/core/composables/useComponentId.ts b/client-app/core/composables/useComponentId.ts new file mode 100644 index 000000000..d36aa39ac --- /dev/null +++ b/client-app/core/composables/useComponentId.ts @@ -0,0 +1,5 @@ +import { getCurrentInstance } from "vue"; + +export default function useComponentId(prefix = "") { + return prefix + getCurrentInstance()!.uid; +} diff --git a/client-app/pages/account/edit-quote.vue b/client-app/pages/account/edit-quote.vue index 51a73eb49..60a7ade40 100644 --- a/client-app/pages/account/edit-quote.vue +++ b/client-app/pages/account/edit-quote.vue @@ -15,16 +15,13 @@ icon="document-text" content-classes="px-6 pb-1 pt-2 lg:px-7 lg:pb-2" > -
- {{ $t("pages.account.quote_details.remarks_field_label") }} -
- - diff --git a/client-app/pages/account/view-quote.vue b/client-app/pages/account/view-quote.vue index fb39d4e32..5c2a2858f 100644 --- a/client-app/pages/account/view-quote.vue +++ b/client-app/pages/account/view-quote.vue @@ -11,12 +11,7 @@ diff --git a/client-app/pages/cart.vue b/client-app/pages/cart.vue index c2f926933..9bbba23cd 100644 --- a/client-app/pages/cart.vue +++ b/client-app/pages/cart.vue @@ -436,14 +436,13 @@ class="shadow-inner pb-8 lg:shadow" >
-

- -

diff --git a/client-app/pages/checkout/shipping.vue b/client-app/pages/checkout/shipping.vue index 9d4094606..fa6a3e9ac 100644 --- a/client-app/pages/checkout/shipping.vue +++ b/client-app/pages/checkout/shipping.vue @@ -1,8 +1,8 @@ diff --git a/client-app/shared/bulk-order/components/copy-and-paste.vue b/client-app/shared/bulk-order/components/copy-and-paste.vue index 3e8e8af16..fdc0bd9d5 100644 --- a/client-app/shared/bulk-order/components/copy-and-paste.vue +++ b/client-app/shared/bulk-order/components/copy-and-paste.vue @@ -10,11 +10,11 @@

-
diff --git a/client-app/shared/bulk-order/components/manually.vue b/client-app/shared/bulk-order/components/manually.vue index 92f5c9f5d..cbf6608d6 100644 --- a/client-app/shared/bulk-order/components/manually.vue +++ b/client-app/shared/bulk-order/components/manually.vue @@ -21,7 +21,7 @@
-
+
@@ -53,7 +53,7 @@
-
+
{{ error }}

-
+ -

- {{ $t("shared.account.invite_member_dialog.emails_label") }} - * -

- - -
{{ errors.emails }}
- -

- {{ $t("shared.account.invite_member_dialog.message_label") }} -

- - - -
{{ errors.message }}