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