diff --git a/src/dispatch/static/dispatch/components.d.ts b/src/dispatch/static/dispatch/components.d.ts index ea1d853f1ea4..3cefa85a15dd 100644 --- a/src/dispatch/static/dispatch/components.d.ts +++ b/src/dispatch/static/dispatch/components.d.ts @@ -12,6 +12,7 @@ declare module '@vue/runtime-core' { AppDrawer: typeof import('./src/components/AppDrawer.vue')['default'] AppToolbar: typeof import('./src/components/AppToolbar.vue')['default'] AutoComplete: typeof import('./src/components/AutoComplete.vue')['default'] + Avatar: typeof import('./src/components/Avatar.vue')['default'] BaseCombobox: typeof import('./src/components/BaseCombobox.vue')['default'] BasicLayout: typeof import('./src/components/layouts/BasicLayout.vue')['default'] ColorPickerInput: typeof import('./src/components/ColorPickerInput.vue')['default'] diff --git a/src/dispatch/static/dispatch/src/atomics/CurrentUserAvatar.vue b/src/dispatch/static/dispatch/src/atomics/CurrentUserAvatar.vue new file mode 100644 index 000000000000..df7568e18052 --- /dev/null +++ b/src/dispatch/static/dispatch/src/atomics/CurrentUserAvatar.vue @@ -0,0 +1,77 @@ + + + diff --git a/src/dispatch/static/dispatch/src/atomics/UserAvatar.vue b/src/dispatch/static/dispatch/src/atomics/UserAvatar.vue new file mode 100644 index 000000000000..c138252740cf --- /dev/null +++ b/src/dispatch/static/dispatch/src/atomics/UserAvatar.vue @@ -0,0 +1,156 @@ + + + + + diff --git a/src/dispatch/static/dispatch/src/case/PageHeader.vue b/src/dispatch/static/dispatch/src/case/PageHeader.vue index 256c65fb023d..1ac28402f3b3 100644 --- a/src/dispatch/static/dispatch/src/case/PageHeader.vue +++ b/src/dispatch/static/dispatch/src/case/PageHeader.vue @@ -20,7 +20,11 @@ - - - - - mdi-account-circle - + @@ -148,6 +138,7 @@ import { formatHash } from "@/filters" import OrganizationApi from "@/organization/api" import OrganizationCreateEditDialog from "@/organization/CreateEditDialog.vue" import UserApi from "@/auth/api" +import CurrentUserAvatar from "@/atomics/CurrentUserAvatar.vue" export default { name: "AppToolbar", @@ -161,6 +152,7 @@ export default { }, components: { OrganizationCreateEditDialog, + CurrentUserAvatar, }, computed: { queryString: { diff --git a/src/dispatch/static/dispatch/src/participant/ParticipantAvatarGroup.vue b/src/dispatch/static/dispatch/src/participant/ParticipantAvatarGroup.vue index d282a708fbe2..9d4a2f6ec6b3 100644 --- a/src/dispatch/static/dispatch/src/participant/ParticipantAvatarGroup.vue +++ b/src/dispatch/static/dispatch/src/participant/ParticipantAvatarGroup.vue @@ -1,6 +1,7 @@