diff options
| author | Ryu jongheon <lptprjh@gmail.com> | 2022-07-18 00:33:12 +0900 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-07-18 00:33:12 +0900 |
| commit | 61d8b56eeef523a02db61f6874330fe08c477db9 (patch) | |
| tree | 4891fd7b2bfc85fdb9cbadce367df90bef9ba26b /packages/client/src/components/instance-ticker.vue | |
| parent | enhance(client): ウィンドウを最大化できるように (diff) | |
| download | misskey-61d8b56eeef523a02db61f6874330fe08c477db9.tar.gz misskey-61d8b56eeef523a02db61f6874330fe08c477db9.tar.bz2 misskey-61d8b56eeef523a02db61f6874330fe08c477db9.zip | |
fix(client): use icon for local if available (#9012)
Diffstat (limited to 'packages/client/src/components/instance-ticker.vue')
| -rw-r--r-- | packages/client/src/components/instance-ticker.vue | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/packages/client/src/components/instance-ticker.vue b/packages/client/src/components/instance-ticker.vue index c32409ecf4..d9f196f887 100644 --- a/packages/client/src/components/instance-ticker.vue +++ b/packages/client/src/components/instance-ticker.vue @@ -8,6 +8,7 @@ <script lang="ts" setup> import { } from 'vue'; import { instanceName } from '@/config'; +import { instance as Instance } from '@/instance'; const props = defineProps<{ instance?: { @@ -19,7 +20,7 @@ const props = defineProps<{ // if no instance data is given, this is for the local instance const instance = props.instance ?? { - faviconUrl: '/favicon.ico', + faviconUrl: Instance.iconUrl || Instance.faviconUrl || '/favicon.ico', name: instanceName, themeColor: (document.querySelector('meta[name="theme-color-orig"]') as HTMLMetaElement)?.content }; |