fix(about): instance color picking
All checks were successful
Publish Docker Image (Misskey) TeamCity build finished
All checks were successful
Publish Docker Image (Misskey) TeamCity build finished
This commit is contained in:
parent
186b80c669
commit
b891c94423
@ -136,7 +136,7 @@ SPDX-License-Identifier: AGPL-3.0-only
|
||||
<MkAvatar :user="user" :class="$style.contributorAvatar"/>
|
||||
<span :class="$style.contributorUsername">@{{ user.username }}
|
||||
<span :class="$style.contributorClient">
|
||||
<span :class="instanceColor">{{ instance.name }}</span>
|
||||
<span :style="instanceColor">{{ instance.name }}</span>
|
||||
</span>
|
||||
</span>
|
||||
</MkA>
|
||||
@ -216,8 +216,9 @@ const stats = ref<Misskey.entities.StatsResponse | null>(null);
|
||||
const tab = ref(props.initialTab);
|
||||
const staffs = ref<Misskey.entities.User[]>([]);
|
||||
const instanceColor = computed(() => {
|
||||
if (!instance.themeColor) return null;
|
||||
return {
|
||||
color: `${instance.themeColor}`,
|
||||
color: instance.themeColor,
|
||||
};
|
||||
});
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user