色々直した
This commit is contained in:
parent
b390c08614
commit
6b7c2f6147
|
|
@ -53,9 +53,6 @@ export class UserFollowingService implements OnModuleInit {
|
||||||
constructor(
|
constructor(
|
||||||
private moduleRef: ModuleRef,
|
private moduleRef: ModuleRef,
|
||||||
|
|
||||||
@Inject(DI.db)
|
|
||||||
private db: DataSource,
|
|
||||||
|
|
||||||
@Inject(DI.config)
|
@Inject(DI.config)
|
||||||
private config: Config,
|
private config: Config,
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -15,8 +15,6 @@ import { UtilityService } from '../UtilityService.js';
|
||||||
@Injectable()
|
@Injectable()
|
||||||
export class InstanceEntityService {
|
export class InstanceEntityService {
|
||||||
constructor(
|
constructor(
|
||||||
@Inject(DI.db)
|
|
||||||
private db: DataSource,
|
|
||||||
|
|
||||||
private metaService: MetaService,
|
private metaService: MetaService,
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -4,7 +4,7 @@ SPDX-License-Identifier: AGPL-3.0-only
|
||||||
-->
|
-->
|
||||||
|
|
||||||
<template>
|
<template>
|
||||||
<div :class="[$style.root, { yellow: instance.isNotResponding, red: instance.isBlocked, gray: instance.isSuspended , blue:instance.isSilenced }]">
|
<div :class="[$style.root, { yellow: instance.isNotResponding, red: instance.isBlocked, gray: instance.isSuspended , blue: instance.isSilenced }]">
|
||||||
<img class="icon" :src="getInstanceIcon(instance)" alt="" loading="lazy"/>
|
<img class="icon" :src="getInstanceIcon(instance)" alt="" loading="lazy"/>
|
||||||
<div class="body">
|
<div class="body">
|
||||||
<span class="host">{{ instance.name ?? instance.host }}</span>
|
<span class="host">{{ instance.name ?? instance.host }}</span>
|
||||||
|
|
|
||||||
|
|
@ -62,12 +62,12 @@ const headerTabs = $computed(() => [
|
||||||
{
|
{
|
||||||
key: 'block',
|
key: 'block',
|
||||||
title: i18n.ts.block,
|
title: i18n.ts.block,
|
||||||
icon: 'ph-prohibit ph-bold ph-lg',
|
icon: 'ti ti-ban',
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
key: 'silence',
|
key: 'silence',
|
||||||
title: i18n.ts.silence,
|
title: i18n.ts.silence,
|
||||||
icon: 'ph-eye-slash ph-bold ph-lg',
|
icon: 'ti ti-eye-off',
|
||||||
},
|
},
|
||||||
]);
|
]);
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue