diff --git a/src/components/04_product-service/WorkManagementComponent.vue b/src/components/04_product-service/WorkManagementComponent.vue
index 53620b1a..fa0a9590 100644
--- a/src/components/04_product-service/WorkManagementComponent.vue
+++ b/src/components/04_product-service/WorkManagementComponent.vue
@@ -80,7 +80,7 @@ defineEmits<{
/>
(readonly ? '' : fetchListOfWork())"
>
diff --git a/src/components/DrawerInfo.vue b/src/components/DrawerInfo.vue
index 5ea40fc1..d21f75a2 100644
--- a/src/components/DrawerInfo.vue
+++ b/src/components/DrawerInfo.vue
@@ -111,11 +111,14 @@ function reset() {
{{ badgeLabel }}
- {{ category }}
+
+ {{ category }}
+
{{ title }}
diff --git a/src/components/UsersDetailCardComponent.vue b/src/components/UsersDetailCardComponent.vue
index fa75e4b0..8f138b1a 100644
--- a/src/components/UsersDetailCardComponent.vue
+++ b/src/components/UsersDetailCardComponent.vue
@@ -26,6 +26,7 @@ withDefaults(
};
hideButton?: boolean;
badge?: CustomerBranch[];
+ canEditProfile?: boolean;
}>(),
{
hideButton: false,
@@ -36,6 +37,7 @@ withDefaults(
);
defineEmits<{
+ (e: 'editProfile'): void;
(e: 'deleteCard', id: string): void;
(e: 'updateCard', action: 'FORM' | 'INFO', id: string): void;
(e: 'viewCard', action: 'FORM' | 'INFO', id: string): void;
@@ -161,6 +163,12 @@ defineEmits<{
bordered
class="avatar"
style="border: 2px solid var(--border-color); height: 80px"
+ :class="{ 'edit-profile': canEditProfile }"
+ @click="
+ () => {
+ if (canEditProfile) $emit('editProfile');
+ }
+ "
>