From c90d27b194a4793fd9bcca2c860b2253ad921ad0 Mon Sep 17 00:00:00 2001 From: NoriDev Date: Tue, 16 May 2023 17:30:32 +0900 Subject: [PATCH] fix(frontend): Profile icon not appearing in toast notification --- packages/frontend/src/components/MkToast.vue | 1 + .../components/global/CPAvatar-Friendly.vue | 20 ++++++++++--------- .../src/components/global/toast-avatar.vue | 17 +++++++++------- 3 files changed, 22 insertions(+), 16 deletions(-) diff --git a/packages/frontend/src/components/MkToast.vue b/packages/frontend/src/components/MkToast.vue index 1e983a293e..e6ce2e5da0 100644 --- a/packages/frontend/src/components/MkToast.vue +++ b/packages/frontend/src/components/MkToast.vue @@ -21,6 +21,7 @@ import { onMounted } from 'vue'; import * as os from '@/os'; import { defaultStore } from '@/store'; +import { $i } from "@/account"; import CPAvatar from '@/components/global/toast-avatar.vue'; defineProps<{ diff --git a/packages/frontend/src/components/global/CPAvatar-Friendly.vue b/packages/frontend/src/components/global/CPAvatar-Friendly.vue index ad66aa65ec..dd7e61bc8a 100644 --- a/packages/frontend/src/components/global/CPAvatar-Friendly.vue +++ b/packages/frontend/src/components/global/CPAvatar-Friendly.vue @@ -1,17 +1,14 @@