Skip to content
Snippets Groups Projects
Unverified Commit 61d8b56e authored by Ryu jongheon's avatar Ryu jongheon Committed by GitHub
Browse files

fix(client): use icon for local if available (#9012)

parent e9a97b47
No related branches found
No related tags found
No related merge requests found
......@@ -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
};
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment